Skip to main content

A Flake8 plugin and pre-commit hook which checks to ensure modules have defined '__all__'.

Project description

A Flake8 plugin and pre-commit hook which checks to ensure modules have defined ‘__all__’.

Docs

Documentation Build Status Docs Check Status

Tests

Linux Test Status Windows Test Status macOS Test Status Coverage

PyPI

PyPI - Package Version PyPI - Supported Python Versions PyPI - Supported Implementations PyPI - Wheel

Anaconda

Conda - Package Version Conda - Platform

Activity

GitHub last commit GitHub commits since tagged version Maintenance PyPI - Downloads

QA

CodeFactor Grade Flake8 Status mypy status pre-commit.ci status

Other

License GitHub top language Requirements Status


Installation

flake8-dunder-all can be installed from PyPI or Anaconda.

To install with pip:

$ python -m pip install flake8-dunder-all

To install with conda:

  • First add the required channels

$ conda config --add channels http://conda.anaconda.org/conda-forge
$ conda config --add channels http://conda.anaconda.org/domdfcoding
  • Then install

$ conda install flake8-dunder-all

flake8 codes

Code

Description

STRFTIME001

Linux-specific strftime code used

STRFTIME002

Windows-specific strftime code used

Use as a pre-commit hook

See pre-commit for instructions

Sample .pre-commit-config.yaml:

- repo: https://gitlab.com/pycqa/flake8
  rev: 3.8.1
  hooks:
   - id: flake8
     additional_dependencies: [flake8-strftime==0.1.5]

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-dunder-all-0.1.5.tar.gz (10.9 kB view details)

Uploaded Source

Built Distribution

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

flake8_dunder_all-0.1.5-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

Details for the file flake8-dunder-all-0.1.5.tar.gz.

File metadata

  • Download URL: flake8-dunder-all-0.1.5.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.7

File hashes

Hashes for flake8-dunder-all-0.1.5.tar.gz
Algorithm Hash digest
SHA256 49ade56c45f46d7a864b86c0928a0e3649e91b25ae7300df5600164fc56c3716
MD5 be3e34e99af705e72bcd5b1bced37d1d
BLAKE2b-256 8a3b04939f154e41d8664a0e932dbfa5bf45c3863d6c03a2cae76b29dbd10725

See more details on using hashes here.

File details

Details for the file flake8_dunder_all-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: flake8_dunder_all-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 10.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.7

File hashes

Hashes for flake8_dunder_all-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 f5106922cb30202bc60b726eaaa97c9cd1181dc27f03e4ad0badf75f7f87f283
MD5 2de455d0835c4ac9b576813113c19c30
BLAKE2b-256 354f3860d4263d3b53e4634fcb6788c0b8d5c511f7e7a43812f3e6c610783a3f

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