Releases: snok/flake8-type-checking
Releases · snok/flake8-type-checking
v2.3.1
What's Changed
This release disables the plugin for stubs (*.pyi
) files. Considered a bugfix rather than a breaking change, since the rules of the plugin don't apply there.
- docs: fix typo by @odiseo0 in #149
- chore: Update test matrix python versions by @sondrelg in #150
- fix: disable the plugin entirely for stub files by @jakkdl in #153
New Contributors
Full Changelog: v2.3.0...v2.3.1
v2.3.0
New features
- feat: Support use of TYPE_CHECKING with simple boolean logic by @steverice in #142
Maintenance
- Remove fix for "double namespace" imports by @steverice in #144
- Add test coverage for stub file ignore by @steverice in #145
New Contributors
- @steverice made their first contribution in #144
Full Changelog: v2.2.0...v2.3.0
v2.2.0
New features
Bugfixes
- fix: Ignore TC100 for stub files by @sondrelg in #126
- fix: Stop modifying
node.attr
by @sondrelg in #140
Maintenance
- chore: Update Poetry version to 1.2.0 by @sondrelg in #132
- chore: remove upper bound from Python version specifier by @sisp in #134
- docs: Expand and correct examples by @sondrelg in #135
New Contributors
Full Changelog: v2.1.3...v2.2.0
v2.1.3
v2.1.2
v2.1.1
Fixes
- Correct TC101 (
... does not need to be a string literal
) logic so it only flags string literals (#122 by @shiftinv) - Fix a TC004 issue (
Move import ... out of type-checking block
) where we weren't handling all imports (#123 by @shiftinv) - Fix TC002 (
Move import ... into type checking block
) false positives (#124)