flake8-tergeo is a flake8 plugin which adds many new rules to improve your code quality. Out of the box it also brings a curated lists of other plugins without additional efforts needed. In difference to other projects, the list of included plugins is rather small and actively maintained.
The included plugins and checks are opinionated, meaning that e.g. f-strings are preferred. Therefore, checks to find other formatting methods are included but none, to find f-strings.
Also, code formatters like black and isort are recommended; therefore no code
formatting rules are included.
You can find the documentation here.
This project uses uv.
To setup a venv for development use
python3.14 -m venv venv && pip install uv && uv sync --all-groups && rm -rf venv/.
Then use source .venv/bin/activate to activate your venv.
- Determine the new version by using the format
YY.M.D.CwithYYare the two last digits of the year,Mis the current month (maybe two digits if needed),Dis the current day (maybe two digits if needed) andCis a counter of the releases per day starting at 0 - Update the version in
pyproject.toml - Rename the section
Next versionin the CHANGELOG to the version released and create a new empty one - Push a new tag like vX.X.X.X to trigger the release
This project is open to feature requests/suggestions, bug reports etc. via GitHub issues. Contribution and feedback are encouraged and always welcome. For more information about how to contribute, the project structure, as well as additional contribution information, see our Contribution Guidelines.
If you find any bug that may be a security problem, please follow our instructions at in our security policy on how to report it. Please do not create GitHub issues for security-related doubts or problems.
We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone. By participating in this project, you agree to abide by its Code of Conduct at all times.
Copyright 2025 SAP SE or an SAP affiliate company and flake8-tergeo contributors. Please see our LICENSE for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available via the REUSE tool.