sedona icon indicating copy to clipboard operation
sedona copied to clipboard

[CI] Add `pre-commit` hook `name-tests-test` for Python test files

Open jbampton opened this issue 1 year ago • 0 comments

https://github.com/pre-commit/pre-commit-hooks?tab=readme-ov-file#name-tests-test

--pytest-test-first: ensure tests match test_.*.py

https://pre-commit.com/#regular-expressions

Did you read the Contributor Guide?

Is this PR related to a JIRA ticket?

  • No this is a CI update. The PR name follows the format [CI] my subject

What changes were proposed in this PR?

Added another pre-commit hook from the official pre-commit team.

Good to have file naming standards.

How was this patch tested?

Ran pre-commit run --all-files

Did this PR include necessary documentation updates?

  • No, this PR does not affect any public API so no need to change the documentation.

jbampton avatar Oct 15 '24 20:10 jbampton