Skip to content

Commit eccbd95

Browse files
committed
Update linter configs
1 parent 79a7805 commit eccbd95

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ repos:
3434
hooks:
3535
- id: black
3636
- repo: https://github.com/pycqa/isort
37-
rev: 6a3cc7646d8f54ba0d1b90958e4107bfb1b31e76 # frozen: 5.5.1
37+
rev: ec78bf395883bc396bf378a2290af6d8004ea6c3 # frozen: 5.5.3
3838
hooks:
3939
- id: isort
4040
- repo: https://github.com/pre-commit/pygrep-hooks
@@ -50,7 +50,7 @@ repos:
5050
language: system
5151
types: [python]
5252
- repo: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt
53-
rev: 8155a744442d15f9126a680b7055f758b29956ab # frozen: 0.0.12
53+
rev: a27ba454fd1cfd7ce20b60f5a1aee310fd66df82 # frozen: 0.1.0
5454
hooks:
5555
- id: yamlfmt
5656
args:

pyproject.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
[tool.isort]
2-
line_length=88
2+
line_length=80
33
multi_line_output=3
44
include_trailing_comma=true
55
use_parentheses=true
6-
known_third_party=["attr", "bs4", "cleverwrap", "feedparser", "forecastiopy", "freezegun", "geoip2", "googlemaps", "imgurpython", "irclib", "isodate", "lxml", "mcstatus", "multidict", "nltk", "pytest", "requests", "responses", "sqlalchemy", "tweepy", "venusian", "watchdog", "yarl"]
6+
known_first_party=["cloudbot", "plugins", "tests"]
7+
float_to_top=true
78

89
[tool.black]
9-
line-length = 88
10+
line-length = 80
1011
target-version = ['py35']
1112
include = '\.pyi?$'
1213
exclude = '''

pytest.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[pytest]
22
addopts =
33
--ignore=venv
4+
--ignore=.*
45
--cov .
56
--cov-report=xml
67
--doctest-modules

0 commit comments

Comments
 (0)