-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* migrate to pyproject * remove transient/unused packages * update to newest versions for all packages * ensure isort compatability with black * make package 3.8 compatible * remove old pip command * readd typed packages * add python 3.12 to version matrix * add python 3.12 to classifiers * prune to only required typed dependencies * Pin pypi-publish-version in python-release.yml * test sdist again in pythonapp.yml * Update python-release.yml --------- Co-authored-by: ldruschk <[email protected]>
- Loading branch information
Showing
10 changed files
with
656 additions
and
127 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 was deleted.
Oops, something went wrong.
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,13 +1,12 @@ | ||
lint: | ||
python -m isort -c enochecker_test/ | ||
python -m black --check --diff enochecker_test/ | ||
python -m flake8 --select F --per-file-ignores="__init__.py:F401" enochecker_test/ | ||
python -m mypy enochecker_test/ | ||
poetry run isort -c enochecker_test/ | ||
poetry run black --check --diff enochecker_test/ | ||
poetry run flake8 --select F --per-file-ignores="__init__.py:F401" enochecker_test/ | ||
poetry run mypy enochecker_test/ | ||
|
||
format: | ||
python -m isort enochecker_test/ | ||
python -m black enochecker_test/ | ||
poetry run isort enochecker_test/ | ||
poetry run black enochecker_test/ | ||
|
||
test: | ||
pip install . | ||
python -m pytest | ||
poetry run pytest |
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,82 @@ | ||
[tool.poetry] | ||
name = "enochecker_test" | ||
version = "0.9.0" | ||
description = "Library to help testing checker scripts based on enochecker" | ||
authors = ["ldruschk <[email protected]>"] | ||
license = "MIT" | ||
readme = "README.md" | ||
homepage = "https://github.com/enowars/enochecker_test" | ||
repository = "https://github.com/enowars/enochecker_test" | ||
classifiers = [ | ||
# How mature is this project? Common values are | ||
# 3 - Alpha | ||
# 4 - Beta | ||
# 5 - Production/Stable | ||
"Development Status :: 3 - Alpha", | ||
# Indicate who your project is intended for | ||
# 'Intended Audience :: Developers', | ||
"License :: OSI Approved :: MIT License", | ||
# Specify the Python versions you support here. In particular, ensure | ||
# that you indicate whether you support Python 2, Python 3 or both. | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
] | ||
|
||
[tool.poetry.dependencies] | ||
python = ">=3.8.1,<=4.0" | ||
enochecker-core = "^0.10.0" | ||
jsons = "^1.6.3" | ||
pytest = "^8.2.1" | ||
requests = "^2.32.3" | ||
|
||
[tool.poetry.group.test.dependencies] | ||
black = "^24.4.2" | ||
flake8 = "^7.0.0" | ||
isort = "^5.13.2" | ||
mypy = "^1.10.0" | ||
|
||
types-requests = "^2.30" | ||
|
||
[tool.poetry.scripts] | ||
enochecker_cli = "enochecker_cli.main:main" | ||
|
||
[build-system] | ||
requires = ["poetry-core>=1.5.0"] | ||
build-backend = "poetry.core.masonry.api" | ||
|
||
|
||
[tool.mypy] | ||
check_untyped_defs = true | ||
warn_redundant_casts = true | ||
warn_unused_ignores = true | ||
warn_unreachable = true | ||
|
||
[[tool.mypy.overrides]] | ||
module = "pytest" | ||
ignore_missing_imports = true | ||
|
||
[[tool.mypy.overrides]] | ||
module = "enochecker" | ||
ignore_missing_imports = true | ||
|
||
[[tool.mypy.overrides]] | ||
module = "enochecker_core" | ||
ignore_missing_imports = true | ||
|
||
[[tool.mypy.overrides]] | ||
module = "jsons" | ||
ignore_missing_imports = true | ||
|
||
[[tool.mypy.overrides]] | ||
module = "enochecker_test" | ||
|
||
[tool.isort] | ||
profile = "black" | ||
multi_line_output=3 | ||
include_trailing_comma = true | ||
line_length = 88 | ||
force_grid_wrap = 0 | ||
use_parentheses = true |
This file was deleted.
Oops, something went wrong.