All Projects β†’ life4 β†’ Flakehell

life4 / Flakehell

Licence: mit
Flake8 wrapper to make it nice, legacy-friendly, configurable.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Flakehell

Android-CICD
This repo demonstrates how to work on CI/CD for Mobile Apps πŸ“± using Github Actions πŸ’Š + Firebase Distribution πŸŽ‰
Stars: ✭ 37 (-82.95%)
Mutual labels:  linting, ci, linter
Dotenv Linter
☺️ Linting dotenv files like a charm!
Stars: ✭ 207 (-4.61%)
Mutual labels:  linter, linting, code-quality
Editorconfig Checker
A tool to verify that your files are in harmony with your .editorconfig
Stars: ✭ 119 (-45.16%)
Mutual labels:  linter, linting, code-quality
makefiles
No description or website provided.
Stars: ✭ 23 (-89.4%)
Mutual labels:  linting, ci, linter
flake8-broken-line
🚨 Flake8 plugin to forbid backslashes (\) for line breaks
Stars: ✭ 85 (-60.83%)
Mutual labels:  linting, linter, code-quality
codeclimate-eslint
Code Climate Engine for ESLint
Stars: ✭ 86 (-60.37%)
Mutual labels:  linting, linter, code-quality
Swiftlint
Stars: ✭ 15,500 (+7042.86%)
Mutual labels:  linting, linter, code-quality
megalinter
πŸ¦™ Mega-Linter analyzes 48 languages, 22 formats, 19 tooling formats, excessive copy-pastes, spelling mistakes and security issues in your repository sources with a GitHub Action, other CI tools or locally.
Stars: ✭ 534 (+146.08%)
Mutual labels:  ci, linter, code-quality
Reviewdog
🐢 Automated code review tool integrated with any code analysis tools regardless of programming language
Stars: ✭ 4,541 (+1992.63%)
Mutual labels:  linter, ci, code-quality
Octopod
πŸ™πŸ› οΈ Open-source self-hosted solution for managing multiple deployments in a Kubernetes cluster with a user-friendly web interface.
Stars: ✭ 47 (-78.34%)
Mutual labels:  ci, qa
Kube Score
Kubernetes object analysis with recommendations for improved reliability and security
Stars: ✭ 1,128 (+419.82%)
Mutual labels:  linter, ci
Wemake Python Styleguide
The strictest and most opinionated python linter ever!
Stars: ✭ 1,714 (+689.86%)
Mutual labels:  linter, code-quality
Vale
πŸ“ A syntax-aware linter for prose built with speed and extensibility in mind.
Stars: ✭ 978 (+350.69%)
Mutual labels:  linter, linting
Phpqa
Docker image that provides static analysis tools for PHP
Stars: ✭ 853 (+293.09%)
Mutual labels:  code-quality, qa
Static Analysis
βš™οΈ A curated list of static analysis (SAST) tools for all programming languages, config files, build tools, and more.
Stars: ✭ 9,310 (+4190.32%)
Mutual labels:  linter, code-quality
App Githooks
Plugin-based system to run specific actions and checks when git hooks are triggered.
Stars: ✭ 5 (-97.7%)
Mutual labels:  linting, code-quality
Sonar Jproperties Plugin
SonarQube Java Properties Analyzer
Stars: ✭ 5 (-97.7%)
Mutual labels:  linter, code-quality
Flint
Fast and configurable filesystem (file and directory names) linter
Stars: ✭ 115 (-47%)
Mutual labels:  linter, ci
Ansible Lint Action
GitHub Action for running ansible-lint as part of your workflows! [ https://github.com/marketplace/actions/ansible-lint ]
Stars: ✭ 124 (-42.86%)
Mutual labels:  linter, linting
Ue4 Style Guide
An attempt to make Unreal Engine 4 projects more consistent
Stars: ✭ 2,656 (+1123.96%)
Mutual labels:  linter, linting

THE PROJECT IS ARCHIVED

Forks: https://github.com/orsinium/forks


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

python3 -m pip install --user flakehell

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!
  • 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 is disabled by-design to shift contributions from words to actions. 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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].