Skip to content

Commit

Permalink
[CI] Add pre-commit hook name-tests-test for Python test files (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
jbampton and jiayuasu authored Oct 25, 2024
1 parent 661f8fa commit 78f035e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,18 @@ repos:
- id: forbid-submodules
- id: mixed-line-ending
exclude: \.csv$
- id: name-tests-test
args: [--pytest-test-first]
exclude: |
(?x)^(
python/tests/properties/crs_transform\.py|
python/tests/properties/linestring_properties\.py|
python/tests/properties/point_properties\.py|
python/tests/properties/polygon_properties\.py|
python/tests/sql/resource/sample_data\.py|
python/tests/streaming/spark/cases_builder\.py|
python/tests/tools\.py
)$
- id: requirements-txt-fixer
files: ^docker/sedona-spark-jupyterlab/requirements\.txt$
- id: trailing-whitespace
Expand Down

0 comments on commit 78f035e

Please sign in to comment.