Skip to content

Commit

Permalink
Add module for fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
sfmig committed Dec 12, 2024
1 parent 90a91df commit 40366e0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ repos:
args: [--fix=lf]
- id: name-tests-test
args: ["--pytest-test-first"]
exclude: ^tests/fixtures
- id: requirements-txt-fixer
- id: trailing-whitespace
- repo: https://github.com/pre-commit/pygrep-hooks
Expand Down
5 changes: 5 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
"""Pytest configuration file."""

pytest_plugins = [
"tests.fixtures.annotations",
]
Empty file added tests/fixtures/__init__.py
Empty file.
1 change: 1 addition & 0 deletions tests/fixtures/annotations.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"""Pytest fixtures for annotation tests."""

0 comments on commit 40366e0

Please sign in to comment.