All Versions
57
Latest Version
Avg Release Cycle
27 days
Latest Release
-
Changelog History
Page 6
Changelog History
Page 6
-
v0.0.7 Changes
๐ Features
- โ Added new magic methods to the black list
- We now do not count
_
as a variable inTooManyLocals
check - We now restrict to nest
lambda
s - ๐ง We now allow to configure the minimal variable's name length via
setup.cfg
Misc
- ๐จ Refactored how complexity checks are defined
- ๐จ Refactored how errors are defined
- Now each check has strict
Raises:
policy which lists all possible errors that this check can find and raise - ๐ Changed how visitors are initialized in tests
- โ Tests now cover nested classes' explicit bases
- โ
Tests now cover nested classes and functions
noqa
comment
-
v0.0.6 Changes
๐ Features
- We now check import aliases to be different from the original name
- 0๏ธโฃ Default complexity checks' values have changed
๐ Bugfixes
- ๐ ReadTheDocs build is fixed by providing extra dependencies
- ๐ Changed how local variables are counted
Misc
- ๐ Improved typing support
- โ Added new documentation sections
-
v0.0.5 Changes
๐ Features
- We now allow
generator_stop
to be a__future__
import - We now restrict dotted raw imports like:
import os.path
- We now check import aliases as regular variable names
Misc
- We have added a
CONTRIBUTING.md
file to help new contributors
- We now allow
-
v0.0.4 Changes
๐ Features
- ๐
We now check
class
es to match our styleguide - Classes have their own error group
Z3
- Using
@staticmethod
is now forbidden - Declaring
object
as a base class is now required - Now we check that
__del__
magic method is not used - Variable names
async
andawait
are forbidden - We now forbid to use
__future__
imports - We now have a whitelist for
__future__
imports - Imports are now have its own subgroup
Z10
- General rules now start from
Z11
- ๐
We now check
-
v0.0.3 Changes
๐ Features
- 0๏ธโฃ We now use
Z
as the default code for our errors - We have shuffled errors around, changing code and formats
- Now all name errors share the same class
- โ Adds
PrivateNameViolation
- Now imports inside any structures rather than
Module
raises an error - โ Adds
file
andklass
as restricted names - Now
__import__
is just a bad function name, not a special case - Now version is defined in
poetry.toml
only - ๐ง We now have configuration! And it covers all design errors
๐ Bugfixes
- ๐ Fixes issue with missing
parent
s :batman: - ๐ Fixes issue with
_$NAME
patterns being ignored
- 0๏ธโฃ We now use
-
v0.0.2 Changes
๐ Features
- โ Adds some new blacklisted variables' names
- โ Adds docs for each existing error code
- โ Adds whitelisted names for nested functions:
decorator
andfactory
- โ Adds new blacklisted module's metadata variables
- Removed
BAD_IMPORT_FUNCTIONS
variable, now just checking__import__
โ Testing
- โ Add gen-tests that cover most of the issues
- โ Removed almost all integration tests, saving just a few of them
Misc
- โ Adds
poetry
as the main project tool - โ Adds
shpinx
as a documentation tool
-
v0.0.1 Changes
- ๐ Initial release