Skip to content

Latest commit

 

History

History
163 lines (121 loc) · 9.69 KB

CHANGELOG.md

File metadata and controls

163 lines (121 loc) · 9.69 KB

Changelog

v2.4.1 (2024-10-30)

Fix

  • Allow f-string to trigger TRY003 (5d6d050)

v2.4.0 (2024-08-19)

Feature

  • TRY002 also checks for Base Exception (d2a6beb)

v2.3.3 (2024-07-08)

Fix

  • Use 'tomli' package instead of 'toml' package. (d20c153)

v2.3.2 (2023-05-23)

Fix

  • Add missing prop for allowed_base_exceptions (1497ab8)
  • Python <3.11 needs typing_extensions (bf8f4cc)

v2.3.1 (2023-05-20)

Fix

  • Empty allowed_class skips check (e3efc35)

v2.3.0 (2023-05-20)

Feature

v2.2.0 (2023-05-20)

Feature

  • Implement new TRY005 violation (5b65dc3)

Fix

  • Build config in the proper order (90863ac)
  • Handle potential missing prop (ddcb8bb)

v2.1.1 (2023-05-18)

Fix

  • Wrong reference to 302 instead of 203 (8826ded)

Documentation

v2.1.0 (2023-05-13)

Feature

v2.0.0 (2023-04-29)

Feature

  • Change codes from TC to TRY (4998fd2)

Breaking

  • change codes from TC to TRY (4998fd2)

v1.2.0 (2023-04-29)

Feature

  • Handle false positive for TC300 (719d07f)

Documentation

v1.1.0 (2022-04-30)

Feature

  • Reduce dependencies contraints (1a71007)

Documentation

  • Update contributing with gitmessage (0bd7c61)
  • Replace logo (38bd6cd)

v1.0.1 (2021-12-31)

Fix

  • Open files with utf-8 encoding for windows (a46636c)

Documentation

v1.0.0 (2021-11-22)

Feature

  • Add prefer TypeError analyzer (ac75e37)

Breaking

  • add prefer TypeError analyzer (ac75e37)

Documentation

  • Add TypeError violation (d424e7c)
  • Make tryceratops use case more obvious (36f1292)
  • Update badges (eb3c162)

v0.6.1 (2021-11-17)

Fix

  • windows: Remove emojis from presentation (e7f6bbe)

Documentation

v0.6.0 (2021-09-12)

Feature

  • Add cheerful message when no violations (bff695c)
  • Block autofix when using flake8 (77d6af3)
  • fixers: Implement fixer for logging error (f488cee)
  • fixers: Capture exceptions (ee708a4)
  • fixers: Run all fixers when enabled (3db7e05)
  • fixers: Handle multiline reraise (c1f14b0)
  • fixers: Implement fixer for reraise no cause (2f9d46d)
  • Include fixers to run (e885b34)
  • fixers: Add fixer for reraise (041f67f)
  • Add --autofix flag (1428958)

Fix

  • Use Dict to support Python 3.8 (22e4119)
  • fixers: Count fixed violations correctly (825794c)
  • fixers: Reset offset between writes (dc3a070)
  • Trim only exception name (18af429)

Documentation

v0.5.0 (2021-07-31)

Feature

  • analyzers: Add analyzer log exception object (b7385da)
  • analyzers: Add analyzer for log error (4c755e5)

Documentation

  • Add sample for TC401 (logging w/o object) (875ce09)
  • Add sample for TC400 (logging.exception) (a74d97b)

v0.4.0 (2021-07-30)

Feature

v0.3.0 (2021-07-21)

Feature

  • Rename 'notc' tokens to become 'noqa' (0a2c1c5)

Breaking

  • Any previous 'notc' token will stop working. Now you must use 'noqa' instead, which keeps consistent with flake8 standards (0a2c1c5)

Documentation

  • Add changelog to pypi and readme (9dac24b)

v0.2.6 (2021-07-21)

Fix

  • cli: Return exit code for unprocessed (50df1dc)

Documentation

  • Remove trailing whitespaces (983f8bf)
  • Add badges to README (8b7a140)
  • Update CONTRIBUTING with automation (e2b40f6)
  • Add contributing (70bfa7d)
  • Add extra resources section (07821cb)
  • Add the badge to the project (d31ac07)
  • Add support badge (3b61817)
  • Add open on vscode badge (381877d)