Skip to content

Version 1.3.3

Compare
Choose a tag to compare
@netromdk netromdk released this 26 Dec 21:27
· 321 commits to master since this release
6ccf92b

1.3.3:

1.3.2:

  • super() without arguments requires v3+

1.3.1:

  • Don't suppress test errors for Python 2.7, 3.4, and 3.5 with GitHub Actions
  • Added kwargs rules specific to the change from v2 to v3
  • With inconclusivity when using --violations and --target exit code is 0 (#79)
  • Yield note when not enough evidence to conclude minimum versions
  • Scan top-level folders in all cases. The recent implementation of --no-symlink-folders didn't scan top-level folders - or input folders. That's a problem if the input folder is /tmp which is a symlink to /private/tmp on macOS, for instance. Cases such as that will now be handled correctly.
  • Added and fixed rules (mostly 3.10 related) (#78)

1.3.0:

  • Python 3.10 support
    • Added 134 rules specific to Python 3.10
    • Structural pattern matching (PEP-0634)
    • Support optional length-checking of zip (PEP-0618)
    • Union types written as X | Y (PEP-0604)
    • Detect mapping attribute of dict views (bpo-40890)
    • Additionally testing and analyzing using Python 3.10 with GitHub Actions
  • Optionally exclude parsing comments for 30-40%+ speedup. The --no-parse-comments argument or parse_comments = no config setting, can be used to disable it.
  • Not scanning symlinks to folders can incur huge speedups for certain projects, especially if they
    point inside a project's hierarchy. These symlinks can be included in analysis via the --scan-symlink-folders argument or scan_symlink_folders = yes config setting.

Deprecations

  • Lax mode has been deprecated in favor of specific analysis exclusions. Will be removed in v. 1.4.