Skip to content

Commit

Permalink
Add twinecheck.
Browse files Browse the repository at this point in the history
  • Loading branch information
wRAR committed Oct 14, 2024
1 parent cedd796 commit ffad8f6
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ jobs:
env:
TOXENV: pypy3

# checks
- python-version: "3.13"
env:
TOXENV: twinecheck

steps:
- uses: actions/checkout@v4

Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
universal = 1

[metadata]
description-file = README.rst
description_file = README.rst

[aliases]
test=pytest tests
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
packages=find_packages("src"),
py_modules=["protego"],
python_requires=">=3.9",
tests_require=["pytest"],
include_package_data=True,
keywords=["robots.txt", "parser", "robots", "rep"],
classifiers=[
Expand Down
9 changes: 9 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,12 @@ commands =
deps = pre-commit
commands = pre-commit run --all-files --show-diff-on-failure
skip_install = true

[testenv:twinecheck]
basepython = python3
deps =
twine==5.1.1
build==1.2.2
commands =
python -m build --sdist
twine check dist/*

0 comments on commit ffad8f6

Please sign in to comment.