Compare commits

..

No commits in common. "3aefc0b9eb37869e5da8ea66cc751669cb18c75e" and "cb7825855ed3dba187c428c237143545d1edafb4" have entirely different histories.

5 changed files with 47 additions and 1 deletions

6
.editorconfig Normal file
View File

@ -0,0 +1,6 @@
[*]
end_of_line = lf
insert_final_newline = true
[*.py]
trim_trailing_whitespace = true

7
backend/.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,7 @@
{
"python.formatting.provider": "black",
"python.linting.flake8Enabled": true,
"python.linting.mypyEnabled": true,
"python.linting.pylintEnabled": true,
"python.pythonPath": ".venv/bin/python"
}

View File

@ -19,3 +19,36 @@ rope = "^0.22.0"
[build-system] [build-system]
requires = ["poetry-core>=1.0.0"] requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api" build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 79
skip-string-normalization = true
[tool.isort]
line_length = 79
ensure_newline_before_comments = true
force_grid_wrap = 0
include_trailing_comma = true
lines_after_imports = 2
multi_line_output = 3
use_parentheses = true
[tool.mypy]
mypy_path = 'stubs'
namespace_packages = true
ignore_missing_imports = true
warn_redundant_casts = true
warn_unused_configs = true
warn_unused_ignores = true
allow_untyped_globals = false
allow_redefinition = false
strict_optional = true
disallow_subclassing_any = true
disallow_any_generics = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
no_implicit_optional = true
warn_return_any = true

View File

@ -1,3 +1,3 @@
import importlib.metadata import importlib.metadata
__version__ = importlib.metadata.distribution(__package__).version __version__ = importlib.metadata.distribution(__package__).version