-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Drops Pypy and Python 2 support, since neither allows type annotations
- Loading branch information
1 parent
b987964
commit bce41f9
Showing
5 changed files
with
124 additions
and
34 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
*.egg-info/ | ||
mypy_cache/ | ||
*.pyc | ||
.*.swp | ||
.cache/ | ||
|
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 |
---|---|---|
@@ -0,0 +1,55 @@ | ||
[MASTER] | ||
|
||
ignore=.git | ||
jobs=0 | ||
suggestion-mode=yes | ||
|
||
[MESSAGES CONTROL] | ||
|
||
disable=all | ||
enable=assign-to-new-keyword, | ||
bad-format-character, | ||
bad-format-string-key, | ||
bad-open-mode, | ||
bad-string-format-type, | ||
consider-using-get, | ||
consider-using-join, | ||
empty-docstring, | ||
function-redefined, | ||
not-in-loop, | ||
redefined-builtin, | ||
return-in-init, | ||
too-few-format-args, | ||
too-many-format-args, | ||
truncated-format-string, | ||
unnecessary-comprehension, | ||
unused-argument, | ||
unreachable, | ||
unused-format-string-argument, | ||
unused-format-string-key, | ||
unused-import, | ||
unused-variable, | ||
using-constant-test | ||
|
||
[REPORTS] | ||
|
||
output-format=text | ||
reports=no | ||
score=no | ||
|
||
[BASIC] | ||
|
||
argument-naming-style=snake_case | ||
attr-naming-style=snake_case | ||
class-naming-style=PascalCase | ||
const-naming-style=UPPER_CASE | ||
function-naming-style=snake_case | ||
include-naming-hint=yes | ||
inlinevar-naming-style=snake_case | ||
method-naming-style=snake_case | ||
module-naming-style=snake_case | ||
variable-naming-style=snake_case | ||
|
||
[VARIABLES] | ||
|
||
redefining-builtins-modules=six.moves,past.builtins,future.builtins,builtins,io |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[mypy] | ||
# TODO: Enable these | ||
# disallow_any_generics = True | ||
# disallow_incomplete_defs = True | ||
# disallow_untyped_defs = True | ||
show_error_codes = True | ||
ignore_missing_imports = True | ||
no_implicit_optional = True | ||
warn_redundant_casts = True | ||
warn_unused_configs = True | ||
warn_unused_ignores = True |
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