Add +x to scripts; type check tests; add toml

This commit is contained in:
Daniil Fajnberg 2023-03-09 19:22:08 +01:00
parent 295c9ed6c7
commit d8a950948c
Signed by: daniil-berg
GPG Key ID: BE187C50903BEE97
4 changed files with 6 additions and 3 deletions

View File

@ -44,7 +44,7 @@ full = [
dev = [ dev = [
"black", "black",
"build", "build",
"coverage", "coverage[toml]",
"flake8", "flake8",
"mkdocs-material", "mkdocs-material",
"mkdocstrings[python]", "mkdocstrings[python]",
@ -65,7 +65,10 @@ version = {attr = "PACKAGE_NAME_PLACEHOLDER.__version__"}
# Mypy: # # Mypy: #
[tool.mypy] [tool.mypy]
files = "src/" files = [
"src/",
"tests/",
]
warn_unused_configs = true warn_unused_configs = true
strict = true strict = true
show_error_codes = true show_error_codes = true

View File

@ -1,7 +1,7 @@
-r common.txt -r common.txt
black black
build build
coverage coverage[toml]
flake8 flake8
mkdocs-material mkdocs-material
mkdocstrings[python] mkdocstrings[python]

0
scripts/lint.sh Normal file → Executable file
View File

0
scripts/test.sh Normal file → Executable file
View File