Skip to content

Commit

Permalink
move isort and pytest to toml
Browse files Browse the repository at this point in the history
  • Loading branch information
vinnyrose committed Sep 15, 2024
1 parent 96b4d84 commit 7bcbf5a
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 24 deletions.
14 changes: 0 additions & 14 deletions .isort.cfg

This file was deleted.

26 changes: 23 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,29 @@ classifiers = [
requires-python = ">=3.8"
dynamic = ["version"]

[tool.setuptools.dynamic]
version = {attr = "django_cleanup.__version__"}

[project.urls]
Homepage = "https://github.com/un1t/django-cleanup"
Changelog = "https://github.com/un1t/django-cleanup/blob/master/CHANGELOG.md"

[tool.setuptools.dynamic]
version = {attr = "django_cleanup.__version__"}

[tool.isort]
sections = ["FUTURE", "STDLIB", "DJANGO", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"]
line_length = 100
default_section = "THIRDPARTY"
known_first_party = ["django_cleanup"]
known_third_party = ["easy_thumbnails", "sorl", "pytest"]
known_django = "django"
multi_line_output = 4
lines_after_imports = 2
combine_as_imports = true

[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "test.settings"
pythonpath = [".", "src"]
addopts = ["-v", "--cov-report=term-missing", "--cov=django_cleanup"]
markers = [
"cleanup_selected_config: marks test as using the CleanupSelectedConfig app config",
"django_storage: change django storage backends"
]
7 changes: 0 additions & 7 deletions pytest.ini

This file was deleted.

0 comments on commit 7bcbf5a

Please sign in to comment.