Skip to content

Version 1.4.2

Compare
Choose a tag to compare
@netromdk netromdk released this 20 Aug 08:33
· 300 commits to master since this release
e6f106e

1.4.2:

  • Show tip for assignments with type annotations (AnnAssign) if annotations are disabled:
    Tips:
    - Generic or literal annotations might be in use. If so, try using: --eval-annotations
      But check the caveat section: https://github.com/netromdk/vermin#caveats
    

1.4.1:

  • Fixed union types detection when either are None, like def foo(n: int | None):

1.4.0:

  • Removed deprecated lax mode entirely
  • Vermin 1.6 will end support for py2.7
  • An actual quiet --quiet mode
  • --violations can be used with --quiet such that nothing is shown except rule violations (#85)
  • Added violations aliases --lint and --no-lint
  • Detect with statements grouped with parentheses (py3.9, #84)
  • Show tip when generic/literal annotations might be in use (#84)
  • Add support for pre-commit by @loganswartz (#81)
  • Handle async with similarly to with
  • async for is py3.5 instead of py3.6
  • Restructured tips display for better readability
  • Lazy parsing of source code when needed outside the Python parser
  • Don't throw away duplicates when visiting nodes (--dump)

Full Changelog: https://github.com/netromdk/vermin/compare/v1.4.0..v1.4.2