| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
- Declares minimimum supported Python version as 3.7 in all packages - Removes compatibility code for Python <3.7 - Migrates to PEP563 style postponed evaluation of annotations - Applies ruff upgrade fixes for Python 3.7+ (`ruff check --target-version="py37" --select=UP --fix`) - UP008 Use `super()` instead of `super(__class__, self)` - UP015 [*] Unnecessary mode argument - UP020 [*] Use builtin `open` - UP026 [*] `mock` is deprecated, use `unittest.mock` - UP030 Use implicit references for positional format fields - UP032 [*] Use f-string instead of `format` call
| Back | FazBrowse Home | New Git URL |
Context
Enables usage of PEP 563 postponed evaluation of annotations (from __future__ import annotations) towards #878 - which would otherwise break if applied, for users who attempt to install and run the latest releases using Python 3.6.
Upgrading enables removal of attrs dependency through migration to the 3.7+ native dataclasses (PEP 557) without installing backports and which provides improved type hinting and associated IDE support towards #878 - provided there are no constraints on retaining attrs.