Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: improve functional tests #921

Merged
merged 5 commits into from
Oct 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ source = ["python/deptry"]
mypy_path = "python"
files = ["python/deptry", "scripts", "tests"]
explicit_package_bases = true
exclude = ["tests/data"]
exclude = ["tests/fixtures"]
disallow_any_unimported = true
enable_error_code = [
"ignore-without-code",
Expand Down Expand Up @@ -119,12 +119,12 @@ DEP001 = ["tomllib"]
[tool.pytest.ini_options]
addopts = "--doctest-modules"
filterwarnings = ["error"]
norecursedirs = ["data*"]
norecursedirs = ["fixtures*"]

[tool.ruff]
line-length = 120
fix = true
extend-exclude = ["tests/data/*"]
extend-exclude = ["tests/fixtures/*"]

[tool.ruff.format]
preview = true
Expand Down
20 changes: 0 additions & 20 deletions tests/data/example_project/pyproject.toml

This file was deleted.

This file was deleted.

28 changes: 0 additions & 28 deletions tests/data/project_with_gitignore/pyproject.toml

This file was deleted.

2 changes: 0 additions & 2 deletions tests/data/project_with_poetry/poetry.toml

This file was deleted.

33 changes: 0 additions & 33 deletions tests/data/project_with_poetry/pyproject.toml

This file was deleted.

37 changes: 0 additions & 37 deletions tests/data/project_with_poetry/src/notebook.ipynb

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

4 changes: 0 additions & 4 deletions tests/data/project_with_requirements_in/requirements.in

This file was deleted.

37 changes: 0 additions & 37 deletions tests/data/project_with_requirements_in/src/notebook.ipynb

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

5 changes: 0 additions & 5 deletions tests/data/project_with_requirements_txt/requirements.txt

This file was deleted.

7 changes: 0 additions & 7 deletions tests/data/project_with_requirements_txt/src/main.py

This file was deleted.

37 changes: 0 additions & 37 deletions tests/data/project_with_requirements_txt/src/notebook.ipynb

This file was deleted.

This file was deleted.

Loading