Capitalize the explanations after "=>"

This commit is contained in:
Alexander Hess 2026-11-30 23:27:31 +01:00
commit 0090145b65
Signed by: alexander
GPG key ID: B46EDB4DFC26805D

View file

@ -197,34 +197,34 @@ select = [
# =============
# flake8's base
# =============
# mccabe => cyclomatic complexity
# mccabe => Cyclomatic complexity
"C901",
# pycodestyle => PEP8 compliance
"E", "W",
# pyflakes => basic errors
# pyflakes => Basic errors
"F4", "F5", "F6", "F7", "F8", "F9",
# =======
# plugins
# =======
# flake8-annotations => enforce type checking for functions
# flake8-annotations => Enforce type checking for functions
"ANN0", "ANN2", "ANN3",
# flake8-bandit => common security issues
# flake8-bandit => Common security issues
"S1", "S2", "S3", "S4", "S5", "S6", "S7",
# flake8-black => complain if black would make changes
# flake8-black => Complain if black would make changes
"BLK1", "BLK9",
# flake8-boolean-trap => Keyword-only flags
"FBT",
# flake8-broken-line => no \ to end a line
# flake8-broken-line => No \ to end a line
"N400",
# flake8-bugbear => opinionated bugs and design flaws
# flake8-bugbear => Opinionated bugs and design flaws
"B0", "B3", "B9",
# flake8-builtins => No shadowing of builtins
"A0",
# flake8-commas => better comma placements
# flake8-commas => Better comma placements
"C8",
# flake8-comprehensions => better comprehensions
# flake8-comprehensions => Better comprehensions
"C4",
# flake8-debugger => no debugger usage
# flake8-debugger => No debugger usage
"T100",
# flake8-docstrings => PEP257 compliance
"D1", "D2", "D3", "D4",
@ -232,25 +232,25 @@ select = [
"EM",
# flake8-implicit-str-concat => Unified string concatenation
"ISC",
# flake8-pytest-style => enforce a consistent style with pytest
# flake8-pytest-style => Enforce a consistent style with pytest
"PT0",
# flake8-quotes => use double quotes everywhere (complying with black)
# flake8-quotes => Use double quotes everywhere (complying with black)
"Q0",
# flake8-return => Consistent return statements
"R5",
# flake8-sfs => use f-strings as the only type of string formatting
# flake8-sfs => Use f-strings as the only type of string formatting
"SFS",
# flake8-simplify => Simpler code
"SIM",
# flake8-todos => unify TODOs
# flake8-todos => Unify TODOs
"T00",
# flake8-unused-arguments => declared function arguments must be used
# flake8-unused-arguments => Declared function arguments must be used
"U100",
# pandas-vet => Idiomatic `pandas`
"PD0",
# pep8-naming => PEP8 naming conventions
"N8",
# pydoclint => docstring matches implementation
# pydoclint => Docstring matches implementation
"DOC",
# ========================================
# `ruff` only (no working `flake8` plugin)
@ -282,7 +282,7 @@ ignore = []
extend-ignore = [
# `ruff`'s A003 does this better, as it only flags actual shadowing
"A003",
# Too long line => duplicate with E501.
# Too long line => Duplicate with E501.
"B950",
# PEP 257 documents the arguments of `__init__()` in its own docstring.
"DOC301",
@ -500,17 +500,17 @@ select = [
# ===================================
# flake8-builtins => No shadowing of builtins
"A",
# flake8-annotations => enforce type checking for functions
# flake8-annotations => Enforce type checking for functions
"ANN0", "ANN2",
# flake8-unused-arguments ("U100") => declared function arguments must be used
# flake8-unused-arguments ("U100") => Declared function arguments must be used
"ARG",
# flake8-bugbear => opinionated bugs and design flaws
# flake8-bugbear => Opinionated bugs and design flaws
"B",
# flake8-comprehensions => better comprehensions
# flake8-comprehensions => Better comprehensions
"C4",
# mccabe => cyclomatic complexity
# mccabe => Cyclomatic complexity
"C90",
# flake8-commas ("C8") => better comma placements
# flake8-commas ("C8") => Better comma placements
"COM",
# flake8-docstrings => PEP257 compliance
"D",
@ -518,7 +518,7 @@ select = [
"E", "W",
# flake8-errmsg => Shorter tracebacks
"EM",
# pyflakes => basic errors
# pyflakes => Basic errors
"F",
# flake8-boolean-trap => Keyword-only flags
"FBT",
@ -528,28 +528,28 @@ select = [
"N",
# pandas-vet => Idiomatic `pandas`
"PD",
# flake8-pytest-style => enforce a consistent style with pytest
# flake8-pytest-style => Enforce a consistent style with pytest
"PT",
# flake8-quotes => use double quotes everywhere
# flake8-quotes => Use double quotes everywhere
"Q",
# flake8-return ("R5") => Consistent return statements
"RET",
# flake8-bandit => common security issues
# flake8-bandit => Common security issues
"S",
# flake8-simplify => Simpler code
"SIM",
# flake8-debugger => no debugger usage
# flake8-debugger => No debugger usage
"T10",
# flake8-todos => unify TODOs
# flake8-todos => Unify TODOs
"TD",
# =======================================
# Violations not covered by `flake8` above
# =======================================
# eradicate => no commented-out code
# eradicate => No commented-out code
"ERA",
# refurb => Modern idioms
"FURB",
# isort => imports are sorted
# isort => Imports are sorted
"I",
# flake8-import-conventions => Unified import aliases
"ICN",
@ -565,7 +565,7 @@ select = [
"RUF",
# flake8-self => No access to private members from outside
"SLF",
# flake8-print => no `print()`
# flake8-print => No `print()`
"T20",
# pyupgrade => Modern syntax for the targeted Python version
"UP",