2019-12-31 23:14:23 +00:00
|
|
|
# Copyright 2009-2020 Joshua Bronson. All Rights Reserved.
|
2018-11-05 20:52:59 +00:00
|
|
|
#
|
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
|
|
|
|
|
2018-12-11 18:22:17 +00:00
|
|
|
# https://wheel.readthedocs.io/en/stable/user_guide.html#building-wheels
|
|
|
|
[bdist_wheel]
|
|
|
|
universal = 1
|
|
|
|
|
|
|
|
|
2018-11-05 20:52:59 +00:00
|
|
|
# http://flake8.pycqa.org/en/latest/user/configuration.html
|
squashed changes for 0.13.0
- support Python 3.6, refactor CI/test setup, increase test coverage
- refactor BidirectionalMapping, BidictBase, OrderedBidictBase,
FrozenBidictBase, and subclasses
- move frozenorderedbidict into _frozen and looseorderedbidict into _loose
- register bidict as a virtual subclass of MutableMapping rather than
inheriting from it directly. This makes it clearer that it does not use any
of the concrete generic methods that MutableMapping provides.
- improve performance and flexibility of frozenbidict and
frozenorderedbidict hashing
- docs, including new type-hierarchy.png diagram
- rm unused imap, ifilter, izip_longest from compat, add PYPY
- update to latest versions of dependencies
- restore benchmarking on travis
2017-01-09 15:37:31 +00:00
|
|
|
[flake8]
|
2020-08-01 18:26:08 +00:00
|
|
|
exclude =
|
|
|
|
__pycache__,
|
|
|
|
.git,
|
|
|
|
.tox
|
|
|
|
bidict/_version.py,
|
|
|
|
docs/conf.py,
|
2019-11-04 02:54:52 +00:00
|
|
|
|
2020-08-01 18:26:08 +00:00
|
|
|
ignore =
|
|
|
|
E265, # block comment should start with '# '
|
|
|
|
E266, # too many leading '#' for block comment
|
|
|
|
E301, # expected 1 blank line, found 0 (prevents idiomatic type hints)
|
|
|
|
E302, # expected 2 blank lines, found 0 (prevents idiomatic type hints)
|
|
|
|
E402, # import not at top of file
|
|
|
|
E501, # line too long
|
|
|
|
E704, # more than one statement on a single line (prevents idiomatic type hints)
|
|
|
|
E722, # broad except
|
|
|
|
F811, # redefinition of unused ... (prevents idiomatic type hints)
|
squashed changes for 0.13.0
- support Python 3.6, refactor CI/test setup, increase test coverage
- refactor BidirectionalMapping, BidictBase, OrderedBidictBase,
FrozenBidictBase, and subclasses
- move frozenorderedbidict into _frozen and looseorderedbidict into _loose
- register bidict as a virtual subclass of MutableMapping rather than
inheriting from it directly. This makes it clearer that it does not use any
of the concrete generic methods that MutableMapping provides.
- improve performance and flexibility of frozenbidict and
frozenorderedbidict hashing
- docs, including new type-hierarchy.png diagram
- rm unused imap, ifilter, izip_longest from compat, add PYPY
- update to latest versions of dependencies
- restore benchmarking on travis
2017-01-09 15:37:31 +00:00
|
|
|
|
2018-11-05 20:52:59 +00:00
|
|
|
|
|
|
|
# https://pydocstyle.readthedocs.io/en/latest/snippets/config.html
|
squashed changes for 0.13.0
- support Python 3.6, refactor CI/test setup, increase test coverage
- refactor BidirectionalMapping, BidictBase, OrderedBidictBase,
FrozenBidictBase, and subclasses
- move frozenorderedbidict into _frozen and looseorderedbidict into _loose
- register bidict as a virtual subclass of MutableMapping rather than
inheriting from it directly. This makes it clearer that it does not use any
of the concrete generic methods that MutableMapping provides.
- improve performance and flexibility of frozenbidict and
frozenorderedbidict hashing
- docs, including new type-hierarchy.png diagram
- rm unused imap, ifilter, izip_longest from compat, add PYPY
- update to latest versions of dependencies
- restore benchmarking on travis
2017-01-09 15:37:31 +00:00
|
|
|
[pydocstyle]
|
2020-08-01 18:26:08 +00:00
|
|
|
add_ignore =
|
|
|
|
D102, # missing docstring in public method (prevents idiomatic type hints)
|
|
|
|
D103, # missing docstring in public function (prevents idiomatic type hints)
|
|
|
|
D107, # missing docstring in __init__ (prevents idiomatic type hints)
|
|
|
|
D105,
|
|
|
|
D205,
|
|
|
|
D400,
|
|
|
|
D401,
|
|
|
|
D402
|
2018-04-07 05:22:36 +00:00
|
|
|
|
2018-11-05 20:52:59 +00:00
|
|
|
|
2018-04-07 05:22:36 +00:00
|
|
|
# pylint config is in .pylintrc
|