Include fixes from linter.

master
Josiah 3 years ago
parent 1f35970444
commit 0edeaa9bc4

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

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

Loading…
Cancel
Save