-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(mypy): errors and setup.cfg misconfiguration (#19)
- Loading branch information
1 parent
3134868
commit 09016a5
Showing
18 changed files
with
156 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
7.0.0 | ||
7.0.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,35 @@ | ||
[options] | ||
python_requires = >= 3.7 | ||
|
||
[flake8] | ||
max-line-length = 120 | ||
# W503: line break before binary operator. Black causes this error but seems to be right | ||
# E231 missing whitespace after ','. Black causes this error but seems to be right (see pep8) | ||
ignore = W503, E231 | ||
# Enable flake8-mutable | ||
enable-extensions = M511 | ||
# W503 line break before binary operator. Black causes this error | ||
# E203 whitespace before ':' | ||
# E231 missing whitespace after ','. Black causes this error but seems to be right (see pep8) | ||
# E501 line too long | ||
# Q000 Double quotes found but single quotes preferred | ||
ignore = W503, E203, E231, E501, Q000 | ||
jobs = 4 | ||
|
||
[mypy] | ||
python_version = 3.7 | ||
ignore_missing_imports = True | ||
check_untyped_defs = True | ||
disallow_untyped_defs = True | ||
disallow_incomplete_defs = True | ||
warn_redundant_casts = True | ||
warn_unused_ignores = True | ||
warn_unused_configs = True | ||
no_implicit_optional = True | ||
strict_optional = True | ||
show_error_codes = True | ||
files = src | ||
|
||
[tool:pytest] | ||
log_cli = True | ||
log_level=INFO | ||
# Deterministic ordering for tests; useful for pytest-xdist. | ||
env = | ||
PYTHONHASHSEED=0 | ||
filterwarnings = | ||
ignore::pytest.PytestUnknownMarkWarning |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.