flake8-stash
A collection of flake8 checks.
List of checks
- STA011: The use of
fields = '__all__'in model forms is not allowed. List the fields one by one instead. - STA012: The use of
excludein model forms is not allowed. Usefieldsinstead. - STA021: The use of
fields = '__all__'in model serializers is not allowed. List the fields one by one instead. - STA022: The use of
excludein model serializers is not allowed. Usefieldsinstead. - STA031: The use of
fields = '__all__'in filtersets is not allowed. List the fields one by one instead. - STA032: The use of
excludein filtersets is not allowed. Usefieldsinstead. - STA041: The use of
fields = '__all__'is not allowed. List the fields one by one instead. - STA042: The use of
excludeis not allowed. Usefieldsinstead.
Installation
Install with pip
pip install flake8-stash
Usage with pre-commit
repos:
- repo: https://github.com/pycqa/flake8
rev: '6.0.0'
hooks:
- id: flake8
additional_dependencies: [ "flake8-stash==0.11.0" ]
License
This project is MIT licensed.
Metadata
Release files for flake8-stash 0.11.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| flake8_stash-0.11.0.tar.gz | 8.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| flake8_stash-0.11.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.6 kB
Release files / flake8_stash-0.11.0.tar.gz
| Download URL | flake8_stash-0.11.0.tar.gz |
|---|---|
| Size | 8.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
08510c3833ad4427bc1d9049ec3589239457b4b3e3a4631dac5c1bcca4d0f713
|
|
BLAKE2b-256 checksum How to use checksums |
3b300f1a36cc542f4d5809ed5413bf1a2bfcef20051f6bc4db8102ef8e57fb0d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.32.5
|
Release files / flake8_stash-0.11.0-py3-none-any.whl
| Download URL | flake8_stash-0.11.0-py3-none-any.whl |
|---|---|
| Size | 5.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6fe3fd76a68acc87798d9d7001eb508219c66ab0b03050945f6b28c02326a73d
|
|
BLAKE2b-256 checksum How to use checksums |
07880a5ce307733d98ab7b6d7f65e233834b9e81ca726afaf583b64b5634d7bd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.32.5
|