This repository has been archived by the owner on Dec 4, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add pyproject.toml support - [tool.ptr] Section support in pyproject.toml - Parses the toml into the same dict structure as `setup.cfg` + `setup.py` now - `pyproject.toml` is more preferred than `setup.cfg` + `setup.py` Test: - Add unittest for parsing pyproject.toml - See Integration test stay working as pyproject.toml would be preferred - @patch mock to keep test_get_test_modules go through the if statements for coverage Fixes #91 This does not change ptr to install using pyproject.toml yet ... just suport projects with ptr config in there. * Install ptr to the venv for actions as we now (unfortunately) have a depdency till 3.11 * Add a pyproject.toml section linking to example
- Loading branch information
1 parent
4bc3fca
commit 8383d69
Showing
9 changed files
with
108 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,16 @@ | ||
[build-system] | ||
requires = ["setuptools>=43.0.0"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[tool.ptr] | ||
disabled = true | ||
entry_point_module = "ptr" | ||
test_suite = "ptr_tests" | ||
test_suite_timeout = 120 | ||
required_coverage = { 'ptr.py' = 84, TOTAL = 88 } | ||
run_usort = true | ||
run_black = true | ||
run_mypy = true | ||
run_flake8 = true | ||
run_pylint = true | ||
run_pyre = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters