Skip to content

Commit 4449573

Browse files
author
pavetsu14
committed
Config files for flake8 and mypy
1 parent e389169 commit 4449573

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

.flake8

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[flake8]
2+
max-line-length = 120
3+
extend-ignore = ANN101,D100,D202,D104
4+
exclude = .git,__pycache__,{{eis_toolkit.project_directory}}
5+
docstring-style = google

mypy.ini

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[mypy]
2+
check_untyped_defs = True
3+
disallow_untyped_defs = True
4+
disallow_incomplete_defs = True
5+
disallow_untyped_decorators = True
6+
disallow_any_unimported = True
7+
warn_return_any = True
8+
warn_unused_ignores = True
9+
no_implicit_optional = True
10+
show_error_codes = True

0 commit comments

Comments
 (0)