diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 814edbfb4fb756ec627869d7e9dd04ac823c9f73..c4029ad148c67301101eee7d3920972bdf457b05 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,7 +10,7 @@ cache: linter: stage: test - image: python:3.7 + image: python:3.8 cache: paths: @@ -31,7 +31,7 @@ linter: tests: stage: test - image: python:3.7 + image: python:3.8 cache: paths: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 734f69c54ecacde1acb0838717c933a7f7aa833f..1b272cdf6ffddb760ccbe938e71faabf1ae1dc5d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,18 +1,14 @@ repos: - - repo: https://github.com/asottile/seed-isort-config - rev: v2.2.0 - hooks: - - id: seed-isort-config - repo: https://github.com/pre-commit/mirrors-isort - rev: v4.3.21 + rev: v5.10.1 hooks: - id: isort - repo: https://github.com/ambv/black - rev: 20.8b1 + rev: 22.10.0 hooks: - id: black - repo: https://gitlab.com/pycqa/flake8 - rev: 3.8.3 + rev: 3.9.2 hooks: - id: flake8 additional_dependencies: @@ -20,7 +16,7 @@ repos: - 'flake8-copyright==0.2.2' - 'flake8-debugger==3.1.0' - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v3.1.0 + rev: v4.3.0 hooks: - id: check-ast - id: check-docstring-first @@ -37,7 +33,7 @@ repos: - id: check-json - id: requirements-txt-fixer - repo: https://github.com/codespell-project/codespell - rev: v1.17.1 + rev: v2.2.2 hooks: - id: codespell args: ['--write-changes'] @@ -45,6 +41,3 @@ repos: - repo: meta hooks: - id: check-useless-excludes - -default_language_version: - python: python3.7 diff --git a/requirements.txt b/requirements.txt index d6af2d0799ba16c43c624bc269a5cc78a21c9758..76486b7d64a4e299577bb24dc27e857ca1c56f32 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,3 @@ editdistance==0.5.3 -edlib==1.3.8.post2 +edlib==1.3.9 termtables==0.2.3