Skip to main content

Custom Pylint Rules from Flightless Ops

Project description

flightless-pylint-plugin

Custom Pylint Rules from Flightless Ops

Usage

In your .pylintrc add or update the following areas:

load-plugins=flightless_pylint_plugin

[MESSAGES CONTROL]
enable=no-pytest-skip,
       no-direct-settings-import,
       no-conditionals-in-test,

Development

Requirements

Python >= 3.12 Invoke Poetry

Installing

Run poetry install to get started.

Using Invoke

The following command will show you current available options:

invoke --list

As of writing, the following commands can be used as listed:

  invoke flake8   # Runs flake8 on the project.
  invoke pylint   # Runs pylint on the project.
  invoke mypy     # Runs mypy on the project.
  invoke lint     # Runs flake8 pylint and mypy on the project in sequence.
  invoke test     # Runs pytest on the project.
  invoke coverage # Runs pytest on the project + coverage reports.
  invoke build    # Builds the project.
  invoke publish  # Will publish the project pending you have configured poetry to be able to.

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

flightless_pylint_plugin-0.3.0.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

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

flightless_pylint_plugin-0.3.0-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file flightless_pylint_plugin-0.3.0.tar.gz.

File metadata

  • Download URL: flightless_pylint_plugin-0.3.0.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.13.2 Windows/11

File hashes

Hashes for flightless_pylint_plugin-0.3.0.tar.gz
Algorithm Hash digest
SHA256 b97e014cca513cad2dbae9d89c09dc6ee4248837704e3b55787fed3a8a2a97f3
MD5 b59d61d7034610bcd7c5e4ad313b3431
BLAKE2b-256 b1a12452207c7a4d6e5532d9990e48b798714ce5cba5d32fdf8a4507486893b8

See more details on using hashes here.

File details

Details for the file flightless_pylint_plugin-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for flightless_pylint_plugin-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5916b36f0c23041b67184f4442a5562c210b80ee242caab51506e7a308e28132
MD5 6e53cfdf93804c1d63fe3c097108b98f
BLAKE2b-256 742067f3b6ced7457beeca64581ca90f558ed8a7ebad828d689b942f6bc46cc3

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