https://github.com/redhatqe/flake8-plugins
flake8 plugins
https://github.com/redhatqe/flake8-plugins
Last synced: 3 months ago
JSON representation
flake8 plugins
- Host: GitHub
- URL: https://github.com/redhatqe/flake8-plugins
- Owner: RedHatQE
- Created: 2021-07-04T08:31:00.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-03-26T18:17:51.000Z (10 months ago)
- Last Synced: 2025-04-20T01:33:11.809Z (9 months ago)
- Language: Python
- Size: 39.1 KB
- Stars: 3
- Watchers: 7
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Flake8 python plugins
A collection of flake8 plugins for python code.
## FunctionCallForceNames (FCN)
A plugin to force call functions with keywords arguments.
## PolarionIds (PID)
A plugin to force Polarion ID for each pytest test.
## UniqueFixturesNames (UFN)
A plugin to force unique fixtures names in pytest.
## Usage
All plugins are off by default and can be enabled by:
1. In .flake8 under enable-extensions section
enable-extensions =
FCN,
UFN,
PID,
2. When calling flake8 cli:
python -m flake8 --enable-extensions=UFN,FCN,PID
## Code check
We use pre-commit for code check.
```bash
pre-commit install
```