Add some Python stuff.

This commit is contained in:
Matúš Tejiščák 2024-02-13 10:56:10 +01:00
parent bb4f259921
commit ef214535dd
3 changed files with 24 additions and 0 deletions

6
.flake8 Normal file
View File

@ -0,0 +1,6 @@
[flake8]
ignore = E203, E501, E226, F403, F405, E302,
W503, E305, E228, E227, E231, E251, E129,
E131, U101
# vim: ft=dosini

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*.sqlite3

17
mypy.ini Normal file
View File

@ -0,0 +1,17 @@
[mypy]
check_untyped_defs = True
no_implicit_optional = True
strict_optional = True
strict_equality = True
warn_redundant_casts = True
warn_unused_ignores = True
warn_return_any = True
warn_no_return = True
warn_unreachable = True
disallow_untyped_defs = True
disallow_incomplete_defs = True
[mypy-tqdm,scipy,scipy.optimize]
ignore_missing_imports = True