Skip to content

Commit

Permalink
Run pre-commit on all files, not just python (#1880)
Browse files Browse the repository at this point in the history
## By Submitting this PR I confirm:
- I am familiar with the [Contributing Guidelines](https://github.com/nv-morpheus/Morpheus/blob/main/docs/source/developer_guide/contributing.md).
- When the PR is ready for review, new or existing tests cover these changes.
- When the PR is ready for review, the documentation is up to date with these changes.

Authors:
  - Christopher Harris (https://github.com/cwharris)

Approvers:
  - Anuradha Karuppiah (https://github.com/AnuradhaKaruppiah)
  - Michael Demoret (https://github.com/mdemoret-nv)

URL: #1880
  • Loading branch information
cwharris authored Sep 11, 2024
1 parent 1d02332 commit 20f9717
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 1 addition & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,19 @@ repos:
rev: 5.12.0
hooks:
- id: isort
args: ["--settings-file=./pyproject.toml"]
files: ^python/
args: ["--filter-files", "--settings-file=./pyproject.toml"]
- repo: https://github.com/PyCQA/flake8
rev: 6.1.0
hooks:
- id: flake8
entry: pflake8
additional_dependencies: [pyproject-flake8]
args: ["--config=./pyproject.toml"]
files: ^python/
- repo: https://github.com/google/yapf
rev: v0.40.2
hooks:
- id: yapf
args: ["--style", "./pyproject.toml"]
files: ^python/

default_language_version:
python: python3
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -731,6 +731,7 @@ default_section = "THIRDPARTY"
sections= ["FUTURE", "STDLIB", "THIRDPARTY", "DASK", "RAPIDS", "FIRSTPARTY", "LOCALFOLDER"]
skip= [
"__init__.py",
"__init__.pyi",
# Skip _version.py as it is auto-generated
"_version.py",
".eggs",
Expand Down

0 comments on commit 20f9717

Please sign in to comment.