Skip to main content

flake8 plugin to limit line number in a module

Project description

flake8-linenumber

Flake8 plugin to limit lines number in a module

Installation

$ pip install flake8-linenumber

Usage

Add path to file and it's limit to your flake8 config (.flake8 file by default)

linenumber =
    ./events.py=500
    ./handlers.py=1000

Codes

  • L001 Reports that logical line count has exceeded limit

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_linenumber-0.1.8.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

flake8_linenumber-0.1.8-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file flake8_linenumber-0.1.8.tar.gz.

File metadata

  • Download URL: flake8_linenumber-0.1.8.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.0

File hashes

Hashes for flake8_linenumber-0.1.8.tar.gz
Algorithm Hash digest
SHA256 2e3422f404ab6a042b3ff6811953dd63e9ab7f150ab747f03ec0212085c0b285
MD5 4022b2011caab8fa72af734b1cc1d13d
BLAKE2b-256 f9cf01c1dc035a97a4943cec79977058dd384fa840e1ed2baaaabd6f4d3c7d81

See more details on using hashes here.

File details

Details for the file flake8_linenumber-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: flake8_linenumber-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.0

File hashes

Hashes for flake8_linenumber-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 6f1eb4a8f86125c42dc081c0377757df45120c6a4d7bf9db8a71877578870306
MD5 303d3aa463bea478c9c139840d04397b
BLAKE2b-256 63096e52ee5f01e2b86a63cf15b53c6777f6487169e52eb40f20d65b15367cde

See more details on using hashes here.

Supported by

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