-
-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Finish first pass at adding type hints.
Fixes #93.
- Loading branch information
Showing
31 changed files
with
598 additions
and
426 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,24 +1,32 @@ | ||
# https://docs.pylint.org/en/latest/technical_reference/features.html | ||
|
||
[MASTER] | ||
ignore=_version.py conf.py | ||
jobs=0 | ||
|
||
[MESSAGES CONTROL] | ||
disable = | ||
disable= | ||
abstract-method, | ||
arguments-differ, | ||
attribute-defined-outside-init, | ||
bad-continuation, | ||
broad-except, | ||
invalid-name, | ||
isinstance-second-argument-not-valid-type, # https://github.com/PyCQA/pylint/issues/3507 | ||
line-too-long, | ||
missing-function-docstring, # prevents idiomatic type hints | ||
multiple-statements, # prevents idiomatic type hints | ||
no-init, | ||
no-member, | ||
too-few-public-methods, | ||
no-self-use, # prevents idiomatic type hints | ||
not-callable, | ||
protected-access, | ||
isinstance-second-argument-not-valid-type, # https://github.com/PyCQA/pylint/issues/3507 | ||
|
||
# bidict/_version.py is generated by setuptools_scm | ||
ignore = _version.py | ||
|
||
# Maximum number of parents for a class. | ||
# The default of 7 results in "too-many-ancestors" for all bidict classes. | ||
max-parents = 13 | ||
|
||
# Maximum number of arguments for a function. | ||
# The default of 5 only leaves room for 4 args besides self for methods. | ||
max-args=6 | ||
|
||
|
||
[FORMAT] | ||
max-line-length=125 | ||
redefined-builtin, | ||
signature-differs, | ||
super-init-not-called, | ||
too-few-public-methods, | ||
too-many-ancestors, | ||
too-many-branches, | ||
too-many-locals, | ||
wrong-import-order, | ||
wrong-import-position, |
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.