Skip to content

Commit

Permalink
Adjust exclusions in .pre-commit-config.yaml (#226)
Browse files Browse the repository at this point in the history
* Replace pylint with ruff

Closes #221

* Adjust github actions

* Use python 3.10 in github workflow

* Fix "python 3.1"

* Fix pytest in github workflow

* Go back to Python 3.7

* Adjust exclusions in pre-commit-config.yaml
  • Loading branch information
bcb authored Dec 29, 2023
1 parent 25038ba commit 64ff5d0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
default_language_version:
python: python3.7
exclude: (^docs)
fail_fast: true
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
Expand All @@ -13,7 +12,9 @@ repos:
rev: v0.971
hooks:
- id: mypy
types: [python]
args: [--strict]
exclude: ^(docs|examples/requests_client_py310.py)
additional_dependencies:
- aiohttp<3.8
- pytest
Expand All @@ -27,6 +28,8 @@ repos:
rev: 22.8.0
hooks:
- id: black
types: [python]
exclude: ^docs
args: [--check]

- repo: local
Expand All @@ -35,5 +38,5 @@ repos:
name: isort
entry: isort
language: system
args: [--check,--profile,black]
args: [--check,--profile=black]
types: [python]

0 comments on commit 64ff5d0

Please sign in to comment.