Skip to content

Commit

Permalink
updating pre-commit to use ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
bandophahita committed Jan 11, 2024
1 parent 4e040c0 commit fc62333
Showing 1 changed file with 17 additions and 29 deletions.
46 changes: 17 additions & 29 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,31 +1,19 @@
files: 'screenpy_selenium/.*'
files: '(screenpy_selenium|tests)/.*'
fail_fast: false
repos:
- repo: https://github.com/psf/black
rev: 23.7.0
hooks:
- id: black
language_version: python3.11
- repo: https://github.com/timothycrosley/isort
rev: 5.12.0
hooks:
- id: isort
language_version: python3.11
- repo: https://github.com/PyCQA/flake8
rev: 6.0.0
hooks:
- id: flake8
language_version: python3.11
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.4.1
hooks:
- id: mypy
language_version: python3.11
additional_dependencies: ["PyHamcrest>=2.0.0,<2.1", "selenium>=4.1.0,<4.5"]
- repo: local
hooks:
- id: pylint
name: pylint
entry: pylint
language: system
types: [python]
- repo: https://github.com/psf/black
rev: 23.12.1
hooks:
- id: black
language_version: python3.12
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.1.11
hooks:
- id: ruff
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.8.0
hooks:
- id: mypy
language_version: python3.12
additional_dependencies: ["PyHamcrest>=2.0.0", "selenium>=4.1.0"]

0 comments on commit fc62333

Please sign in to comment.