Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 3.3.0 instead.
Reason given by maintainers: fork reboot

THE PROJECT IS ALIVE!!!

It's a fork of https://github.com/life4/flakehell

Fork chores (contributions welcome!)

Progress


FlakeHell

PyPI version Build Status License: MIT Documentation

It's a Flake8 wrapper to make it cool.

output example

Compatibility

FlakeHell supports all flake8 plugins, formatters, and configs. However, FlakeHell has it's own beautiful way to configure enabled plugins and codes. So, options like --ignore and --select unsupported. You can have flake8 and FlakeHell in one project if you want but enabled plugins should be explicitly specified.

Installation

pip install git+https://github.com/pwooolvett/flakehell.git@master

Usage

First of all, let's create pyproject.toml config:

[tool.flakehell]
# optionally inherit from remote config (or local if you want)
base = "https://raw.githubusercontent.com/life4/flakehell/master/pyproject.toml"
# specify any flake8 options. For example, exclude "example.py":
exclude = ["example.py"]
# make output nice
format = "grouped"
# 80 chars aren't enough in 21 century
max_line_length = 90
# show line of source code in output
show_source = true

# list of plugins and rules for them
[tool.flakehell.plugins]
# include everything in pyflakes except F401
pyflakes = ["+*", "-F401"]
# enable only codes from S100 to S199
flake8-bandit = ["-*", "+S1??"]
# enable everything that starts from `flake8-`
"flake8-*" = ["+*"]
# explicitly disable plugin
flake8-docstrings = ["-*"]

Show plugins that aren't installed yet:

flakehell missed

Show installed plugins, used plugins, specified rules, codes prefixes:

flakehell plugins

plugins command output

Show codes and messages for a specific plugin:

flakehell codes pyflakes

codes command output

Run flake8 against the code:

flakehell lint

This command accepts all the same arguments as Flake8.

Read flakehell.readthedocs.io for more information.

Contributing

Contributions are welcome! A few ideas what you can contribute:

  • Improve documentation.
  • Add more tests.
  • Improve performance.
  • Found a bug? Fix it (or report it in the issues)!
  • Made an article about FlakeHell? Great! Let's add it into the README.md.
  • Don't have time to code? No worries! Just tell your friends and subscribers about the project. More users -> more contributors -> more cool features.

A convenient way to run tests is using DepHell:

curl -L dephell.org/install | python3
dephell venv create --env=pytest
dephell deps install --env=pytest
dephell venv run --env=pytest

Bug-tracker has been enabled by-design to invite contributors and users. Please, help us make the project better and don't stalk maintainers in social networks and on the street.

Thank you ❤️

The FlakeHell mascot (Flaky) is created by @illustrator.way and licensed under the CC BY-SA 4.0 license.

Metadata

Release files for flakeheaven 0.10.0a0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for flakeheaven 0.10.0a0
File Size Uploaded Provenance Actions
flakeheaven-0.10.0a0.tar.gz 1.2 MB Without provenance Details for flakeheaven-0.10.0a0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for flakeheaven 0.10.0a0
File Interpreter ABI Platform Actions
flakeheaven-0.10.0a0-py3-none-any.whl Python 3 none any Details for flakeheaven-0.10.0a0-py3-none-any.whl

Total release size: 1.2 MB

Release files / flakeheaven-0.10.0a0.tar.gz

Download URL flakeheaven-0.10.0a0.tar.gz
Size 1.2 MB
Tags Source
SHA-256 checksum
How to use checksums
3931422e8aeafa69d29d1b1158fb1795d801c830b8bcedb79312b3db962f9c9c
BLAKE2b-256 checksum
How to use checksums
7cf4a6568bc7416b624f82fc924acc49925d97f1b39b0974d52da399e436c915
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.25.1

Release files / flakeheaven-0.10.0a0-py3-none-any.whl

Download URL flakeheaven-0.10.0a0-py3-none-any.whl
Size 42.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
80d453a38dffcaca6a14cd081fce2501a08be30b7bc8427850219a6aae64698b
BLAKE2b-256 checksum
How to use checksums
289b3d1ca2afcd4b1ae01981e55e9cc73b1c7254d49a2b56b401aced906f9c1d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.25.1

Security for flakeheaven 0.10.0a0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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