Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 639 Bytes

README.md

File metadata and controls

28 lines (22 loc) · 639 Bytes

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.

pre-commit install