Skip to content

Releases: OctoPrint/codemods

0.6.3

25 Feb 10:00
Compare
Choose a tag to compare

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

09 Feb 16:20
Compare
Choose a tag to compare

Changes

  • Fix & improve pre-commit
  • Fix a nasty bug in transformer batch processing

0.6.1

09 Feb 15:46
Compare
Choose a tag to compare

Changes

  • Fix a bug in check batch processing

0.6.0

09 Feb 15:28
Compare
Choose a tag to compare

Changes

  • (breaking) Removed overlap with pyupgrade
  • New batch runner codemod_batch to run more than one mod/check in one traversal

0.5.0

07 May 12:49
Compare
Choose a tag to compare

Changes

  • Adjust hooks to run under any Python 3 version instead of just Python 3.7

0.4.0

25 Feb 13:09
Compare
Choose a tag to compare

Changes

  • New codemod py3_super
  • New codemod remove_float_conversion
  • Test framework powered by pytest

0.3.1

24 Feb 15:25
Compare
Choose a tag to compare

Changes

  • Fix yield_from_generator being too broad

0.3.0

24 Feb 14:50
Compare
Choose a tag to compare

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

23 Oct 14:49
Compare
Choose a tag to compare

Changes

  • Remove an errant print statement

0.2.0

23 Oct 14:41
Compare
Choose a tag to compare

Changes

  • Refactored to use matchers
  • Some optimizations
  • Some new checks