From aac75a72494a6a44a3253009daf308eaa3901a92 Mon Sep 17 00:00:00 2001 From: Yoann Schneider <yschneider@teklia.com> Date: Tue, 25 Apr 2023 14:10:37 +0000 Subject: [PATCH] Fix lint job --- .gitlab-ci.yml | 2 +- .pre-commit-config.yaml | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6b23088..5031dbd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,7 +4,7 @@ stages: - deploy lint: - image: python:3.8 + image: python:3 stage: test cache: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0866532..fbc8495 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,23 +1,23 @@ repos: - repo: https://github.com/PyCQA/isort - rev: 5.10.1 + rev: 5.12.0 hooks: - id: isort args: ["--profile", "black", "--line-length", "120"] - repo: https://github.com/pycqa/flake8 - rev: 3.9.2 + rev: 6.0.0 hooks: - id: flake8 additional_dependencies: - - 'flake8-copyright==0.2.2' - - 'flake8-debugger==4.0.0' + - 'flake8-copyright==0.2.4' + - 'flake8-debugger==4.1.2' - repo: https://github.com/psf/black - rev: 22.8.0 + rev: 23.3.0 hooks: - id: black args: ["--line-length", "120"] - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.3.0 + rev: v4.4.0 hooks: - id: check-ast - id: check-docstring-first @@ -35,7 +35,7 @@ repos: - id: requirements-txt-fixer - id: end-of-file-fixer - repo: https://github.com/codespell-project/codespell - rev: v2.2.1 + rev: v2.2.4 hooks: - id: codespell args: ['--write-changes'] -- GitLab