Skip to content

Commit b8a7719

Browse files
authored
Merge pull request #227 from TotallyNotRobots/update-lint
Update lint configs
2 parents 6fbcc7f + 60a99b2 commit b8a7719

File tree

3 files changed

+11
-20
lines changed

3 files changed

+11
-20
lines changed

.coveragerc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[report]
2+
fail_under = 60
23
exclude_lines =
34
pragma: no cover
45
def __repr__
@@ -10,6 +11,8 @@ exclude_lines =
1011
^ *\.\.\.$
1112

1213
[run]
14+
branch = true
1315
omit =
1416
tests/data/*
1517
tests/util/*
18+
.*

.pre-commit-config.yaml

Lines changed: 7 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
repos:
33
- repo: https://github.com/pre-commit/pre-commit-hooks
4-
rev: v3.1.0
4+
rev: e1668fe86af3810fbca72b8653fe478e66a0afdc # frozen: v3.2.0
55
hooks:
66
- id: trailing-whitespace
77
args: ['--markdown-linebreak-ext=md,markdown']
@@ -30,39 +30,27 @@ repos:
3030
args:
3131
- '--remove'
3232
- repo: https://github.com/psf/black
33-
rev: 19.10b0
33+
rev: e66be67b9b6811913470f70c28b4d50f94d05b22 # frozen: 20.8b1
3434
hooks:
3535
- id: black
36-
- repo: https://github.com/asottile/blacken-docs
37-
rev: v1.7.0
38-
hooks:
39-
- id: blacken-docs
40-
additional_dependencies:
41-
- black==19.10b0
42-
- repo: https://github.com/asottile/seed-isort-config
43-
rev: v2.2.0
44-
hooks:
45-
- id: seed-isort-config
46-
- repo: https://github.com/timothycrosley/isort
47-
rev: 4.3.21
36+
- repo: https://github.com/pycqa/isort
37+
rev: 6a3cc7646d8f54ba0d1b90958e4107bfb1b31e76 # frozen: 5.5.1
4838
hooks:
4939
- id: isort
50-
additional_dependencies:
51-
- toml==0.10.0
5240
- repo: https://github.com/pre-commit/pygrep-hooks
53-
rev: v1.5.1
41+
rev: eae6397e4c259ed3d057511f6dd5330b92867e62 # frozen: v1.6.0
5442
hooks:
5543
- id: python-no-eval
5644
- id: python-no-log-warn
5745
- repo: local
5846
hooks:
5947
- id: pylint
6048
name: pylint
61-
entry: pylint
49+
entry: pylint -s no
6250
language: system
6351
types: [python]
6452
- repo: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt
65-
rev: 0.0.11
53+
rev: 8155a744442d15f9126a680b7055f758b29956ab # frozen: 0.0.12
6654
hooks:
6755
- id: yamlfmt
6856
args:

.pylintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ indent-string=' '
377377
max-line-length=88
378378

379379
# Maximum number of lines in a module.
380-
max-module-lines=1000
380+
max-module-lines=1500
381381

382382
# List of optional constructs for which whitespace checking is disabled. `dict-
383383
# separator` is used to allow tabulation in dicts, etc.: {1 : 1,\n222: 2}.

0 commit comments

Comments
 (0)