Include fixes from linter.

master
Josiah 3 years ago
parent 1f35970444
commit 0edeaa9bc4

@ -1,13 +1,13 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0
rev: v4.0.1
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/pycqa/pylint
rev: pylint-2.6.0
rev: v2.10.2
hooks:
- id: pylint
args:
@ -15,15 +15,15 @@ repos:
- --ignore-imports=yes
- -d duplicate-code
- repo: https://github.com/psf/black
rev: 20.8b1
rev: 21.8b0
hooks:
- id: black
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.812
rev: v0.910
hooks:
- id: mypy
additional_dependencies: [pydantic] # add if use pydantic
- repo: https://github.com/PyCQA/isort
rev: 5.7.0
rev: 5.9.3
hooks:
- id: isort

@ -3,10 +3,13 @@ multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
line_length = 79
line_length = 100
[tool.pylint]
max-line-length=100
[tool.black]
line-length = 79
line-length = 100
target-version = ['py38']
include = '\.pyi?$'
exclude = '''

Loading…
Cancel
Save