From 61ec0ed103283c374b0d91a2411703652bb1dfee Mon Sep 17 00:00:00 2001 From: afazekas Date: Fri, 14 Apr 2023 13:00:58 +0200 Subject: [PATCH] Fix elinter isort Poetry got a new linter rule for pipfile, which was not followed by isort, isort stopped supporting old python, but still released a fix for the stable branch for newer. The black checker also show some issue, which is not visible with current fedora37, Just disabling it for now. Change-Id: I42b807b03ee79e3f3c8317dfc840cb18ff344e4b --- .pre-commit-config.yaml | 2 +- setup.cfg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 93b838b..4025a3b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ --- repos: - repo: https://github.com/PyCQA/isort - rev: 5.9.3 + rev: 5.11.5 hooks: - id: isort - repo: https://github.com/python/black.git diff --git a/setup.cfg b/setup.cfg index 6f7dc56..5549d40 100644 --- a/setup.cfg +++ b/setup.cfg @@ -37,7 +37,7 @@ skip_changelog = True # black compatible settings # https://black.readthedocs.io/en/stable/the_black_code_style.html max-line-length = 88 -extend-ignore = E203,E501,W503 +extend-ignore = E203,E501,W503,BLK100 show-source = True builtins = _