Releases: OctoPrint/codemods
Releases · OctoPrint/codemods
0.6.3
Changes
- Pin
libcst
to 0.3.23 for now. 0.4.0+ requires a native extension written in rust for which there are no wheels yet on piwheels.org, which causes issues for people running these codemods on RPis.
0.6.2
Changes
- Fix & improve pre-commit
- Fix a nasty bug in transformer batch processing
0.6.1
Changes
- Fix a bug in check batch processing
0.6.0
Changes
- (breaking) Removed overlap with pyupgrade
- New batch runner
codemod_batch
to run more than one mod/check in one traversal
0.5.0
Changes
- Adjust hooks to run under any Python 3 version instead of just Python 3.7
0.4.0
Changes
- New codemod
py3_super
- New codemod
remove_float_conversion
- Test framework powered by pytest
0.3.1
Changes
- Fix
yield_from_generator
being too broad
0.3.0
Changes
- New codemods:
py3_class_inheritance
, oserror_merge
, yield_from_generator
, dict_comprehension_to_literal
, string_encoding
--verbose
flag that controls "0 replacements" output
- file, line, pos and code that triggers replacement gets logged
0.2.1
Changes
- Remove an errant
print
statement
0.2.0
Changes
- Refactored to use matchers
- Some optimizations
- Some new checks