Skip to content
Snippets Groups Projects
Commit 1e102339 authored by IvBu's avatar IvBu Committed by Ivan Buntic
Browse files

[linters] Update version for pylint and flake8.

parent 7100352c
No related branches found
No related tags found
1 merge request!3801add ubuntu version variable to ci
Pipeline #44841 failed
+3
......@@ -50,6 +50,7 @@ configure:
python3 -m venv build-cmake/ci-env
source build-cmake/ci-env/bin/activate
python3 -m pip install -r requirements.txt
pip list
artifacts:
paths:
- build-cmake
......
......@@ -35,10 +35,7 @@ ignore-patterns=
# Python code to execute, usually for sys.path manipulation such as
# pygtk.require().
init-hook=
import os, sys
from pylint.config import PYLINTRC
sys.path.append(os.path.join(os.path.dirname(PYLINTRC), 'bin/testing'))
init-hook='import sys; sys.path.append("bin/testing")'
# Use multiple processes to speed up Pylint. Specifying 0 will auto-detect the
# number of processors available to use.
......@@ -91,7 +88,10 @@ disable=raw-checker-failed,
too-few-public-methods,
unspecified-encoding,
logging-fstring-interpolation,
logging-format-interpolation
logging-format-interpolation,
possibly-used-before-assignment,
nested-min-max,
broad-exception-raised
# Enable the message, report, category or checker with the given id(s). You can
# either give multiple identifier separated by comma (,) or put this option
......
......@@ -3,8 +3,8 @@
numpy
matplotlib
pylint~=2.14.0
flake8~=6.0.0
pylint~=3.2.2
flake8~=7.0.0
black~=22.0
codespell~=2.2.2
fieldcompare[all]~=0.1.0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment