Skip to main content

flake8-stash

A collection of flake8 checks.

GitHub Workflow Status PyPI PyPI PyPI - License Code style: black

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 exclude in model forms is not allowed. Use fields instead.
  • STA021: The use of fields = '__all__' in model serializers is not allowed. List the fields one by one instead.
  • STA022: The use of exclude in model serializers is not allowed. Use fields instead.
  • STA031: The use of fields = '__all__' in filtersets is not allowed. List the fields one by one instead.
  • STA032: The use of exclude in filtersets is not allowed. Use fields instead.
  • STA041: The use of fields = '__all__' is not allowed. List the fields one by one instead.
  • STA042: The use of exclude is not allowed. Use fields instead.

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)

Source distribution for flake8-stash 0.11.0
File Size Uploaded
flake8_stash-0.11.0.tar.gz 8.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for flake8-stash 0.11.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.11.0 This release

2 release files

0.10.0

2 release files

0.9.0

2 release files

0.8.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page