- Nothing changed yet.
- Support detecting a shadowing folder as module name (as part of A005). [asfaltboy]
- Add rule for lambda argument shadowing (A006). [cielavenir]
- Add rule for builtin module name shadowing (A005). [asfaltboy]
- Use tox and pre-commit to ease project maintenance. [gforcada]
- Drop python 3.7 support. [gforcada]
- Test pre-release of python 3.12. [gforcada]
- Use pyproject.toml rather than setup.py. [gforcada]
- Switch from setuptools to hatchling. [gforcada]
- Add rule for import shadowing (A004). [felixvd]
- Switch to main branch. [gforcada]
- Honor --builtins option from flake8 #73. [gforcada]
- Add official support for python 3.10 and 3.11. [gforcada] [michael-k]
- Update options handling. [gforcada]
- Simplify testing. [gforcada]
- Mark support for python 3.9. [lovetoburnswhen]
- Replace travis for GitHub. [cclauss]
- Fix CI badge. [sobolevn]
- Make black and isort mandatory. [cclauss]
- Drop python 2.7 and 3.6. [gforcada]
- Overhaul GitHub actions to test on actual supported python versions. [gforcada]
- New flake8 option --builtins-ignorelist to specify a list of builtins to ignore. [gsingh93]
- Change messages to have shorter text
- Add DictComp, SetComp, and GeneratorExpr support. [sobolevn]
- Adds kwonly and posonly args support. [sobolevn]
- Add
python3.8
support. [sobolevn] - Add
AnnAssign
support. [soboelvn] - Add
NamedExpr
or:=
support. [sobolevn]
- Fix tuple parsing. [memery-imb]
- Fix regression in 1.4.0 and interaction with flake8-bugbear. [dirk-thomas]
- Make code more robust by not assuming that a node is an
ast.Name
but actually checking it. [gforcada] - Handle
ast.Starred
as well (i.e.a, *int = range(4)
) [gforcada] - Handle lists as well, i.e.
[a, int] = 3, 4
[gforcada]
- Fix TypeError. Fixes #30 [gforcada]
- Report different error codes for function (A001) or method definitions (A003). Fixes #22 (comment) [gforcada]
- Ignore underscore variables, django adds it on the list of builtins on its own. Fixes #25 [gforcada]
- Handle cases where an unpacking happens in a with statement. Fixes #26 [gforcada]
- Fix error message in function names shadowing a builtin. Fixes #22 [gforcada]
- re-relase 1.2 from master branch. [gforcada]
Fix error message in for loops. [gforcada]
Inspect the following places for possible builtins being shadowed:
- with open('/tmp/bla.txt') as int
- except ValueError as int
- [int for int in range(4)]
- from zope.component import provide as int
- import zope.component as int
- class int(object)
- def int()
- async def int()
- async for int in range(4)
- async with open('/tmp/bla.txt') as int
[gforcada]
- Variables assigned in a for loop can be not only a Tuple, but a Tuple inside a Tuple. [dopplershift]
- Update more trove classifiers. [gforcada]
- Inspect variables assigned in a for loop as well. Thanks to sobolevn for reporting it! [gforcada]
- Update README. [DmytroLitvinov]
- Update trove classifiers. [dirn]
- Use requirements.txt to pin dependencies. [gforcada]
- Fix tests with newer flake8 version. [gforcada]
- BREAKING CHANGE: error codes have been changed from B00X to A00X to not clash with flake8-bugbear, see #7 [gforcada]
- Use a different code for class attributes. [karamanolev]
- Release universal wheels, not only python 2 wheels. [gforcada]
- Update trove classifiers. [gforcada]
- Fix stdin handling. [sangiovanni]
- Handle stdin, which is the way flake8 gets integrated into editors. [gforcada]
- Test against Python 2.7, 3.5, 3.6 and pypy. [gforcada]
- Whitelist some builtins. [gforcada]
- Initial release [gforcada]
- Add buildout and other stuff. [gforcada]
- Add actual code. [gforcada]
- Drop support for python 3.3, only python 2.7 and python 3.4 are tested. [gforcada]