Skip to main content

A collection of flake8 checks.

Project description

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.

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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flake8_stash-0.11.0-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

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

Hashes for flake8_stash-0.11.0.tar.gz
Algorithm Hash digest
SHA256 08510c3833ad4427bc1d9049ec3589239457b4b3e3a4631dac5c1bcca4d0f713
MD5 f057227d4dd6787406783af4ea197f1d
BLAKE2b-256 3b300f1a36cc542f4d5809ed5413bf1a2bfcef20051f6bc4db8102ef8e57fb0d

See more details on using hashes here.

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

Hashes for flake8_stash-0.11.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6fe3fd76a68acc87798d9d7001eb508219c66ab0b03050945f6b28c02326a73d
MD5 8b49e7de4f3b88db24962a952f291132
BLAKE2b-256 07880a5ce307733d98ab7b6d7f65e233834b9e81ca726afaf583b64b5634d7bd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page