Skip to content
Myr

add pre-commit config

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Lord · committed by David Lord · parent 079f91a · Browse files · 2 files+50 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+50 added−1 removed

  • other:+50 added−1 removed

2 files+50 added−1 removed

added:.pre-commit-config.yaml+27 added
modified:setup.cfg+23 added-1 removed
10 unmodified lines
1112[coverage:run]13branch = True14source =15 click15 src16 tests1718[coverage:paths]19source =20 click21 */site-packages2223[flake8]24# B = bugbear25# E = pycodestyle errors26# F = flake8 pyflakes27# W = pycodestyle warnings28# B9 = bugbear opinions29select = B, E, F, W, B930ignore =31 # slice notation whitespace, invalid32 E20333 # line length, handled by bugbear B95034 E50135 # bare except, handled by bugbear B00136 E72237 # bin op line break, invalid38 W50339# up to 88 allowed by bugbear B95040max-line-length = 8041per-file-ignores =42 # __init__ module exports names43 src/click/__init__.py: F401