Set up mypy, Flake8, isort and pre-commit hooks

This commit is contained in:
Hugo Locurcio
2023-06-30 12:05:18 +02:00
parent e07127250e
commit be9acfddc4
7 changed files with 91 additions and 15 deletions

16
mypy.ini Normal file
View File

@@ -0,0 +1,16 @@
[mypy]
strict = True
disallow_any_unimported = True
disallow_any_decorated = True
warn_unreachable = True
pretty = True
show_column_numbers = True
[mypy-gql]
ignore_missing_imports = True
[mypy-dotenv]
ignore_missing_imports = True
[mypy-gql.transport.aiohttp]
ignore_missing_imports = True