A collection of flake8 checks.
Project description
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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
flake8_stash-0.11.0.tar.gz
(8.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file flake8_stash-0.11.0.tar.gz.
File metadata
- Download URL: flake8_stash-0.11.0.tar.gz
- Upload date:
- Size: 8.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
08510c3833ad4427bc1d9049ec3589239457b4b3e3a4631dac5c1bcca4d0f713
|
|
| MD5 |
f057227d4dd6787406783af4ea197f1d
|
|
| BLAKE2b-256 |
3b300f1a36cc542f4d5809ed5413bf1a2bfcef20051f6bc4db8102ef8e57fb0d
|
File details
Details for the file flake8_stash-0.11.0-py3-none-any.whl.
File metadata
- Download URL: flake8_stash-0.11.0-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6fe3fd76a68acc87798d9d7001eb508219c66ab0b03050945f6b28c02326a73d
|
|
| MD5 |
8b49e7de4f3b88db24962a952f291132
|
|
| BLAKE2b-256 |
07880a5ce307733d98ab7b6d7f65e233834b9e81ca726afaf583b64b5634d7bd
|