From 0edeaa9bc40fd2e1a26ae3d835f5b365ef6ac750 Mon Sep 17 00:00:00 2001 From: Josiah Date: Mon, 30 Aug 2021 12:08:52 -0500 Subject: [PATCH] Include fixes from linter. --- .pre-commit-config.yaml | 10 +++++----- pyproject.toml | 7 +++++-- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 99bc870..f72d7bb 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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 diff --git a/pyproject.toml b/pyproject.toml index 51b7c0a..8f8b99e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 = '''