Skip to content

Commit

Permalink
Updated hook versions. Added pytest src config.
Browse files Browse the repository at this point in the history
  • Loading branch information
steve-bate committed Aug 15, 2024
1 parent 76e128f commit c5ebfd0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
default_install_hook_types:
- pre-push

default_language_version:
python: python3.11

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v4.6.0
hooks:
# - id: trailing-whitespace
# args: [--markdown-linebreak-ext=md]
Expand All @@ -14,15 +17,14 @@ repos:
- id: check-added-large-files

# - repo: https://github.com/psf/black
# rev: 23.3.0
# rev: 24.8.0
# hooks:
# - id: black
# language_version: python3.11
# args:
# - --config=pyproject.toml

# - repo: https://github.com/pycqa/isort
# rev: 5.12.0
# rev: 5.13.2
# hooks:
# - id: isort
# name: isort (python)
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,6 @@ exclude = [
[tool.pylint."MESSAGES CONTROL"]
max-line-length=120
disable="arguments-renamed, empty-docstring, global-variable-not-assigned, line-too-long, missing-class-docstring, missing-function-docstring, too-few-public-methods, too-many-arguments"

[tool.pytest.ini_options]
pythonpath = ["src"]

0 comments on commit c5ebfd0

Please sign in to comment.