Skip to content

Commit 24995a2

Browse files
committed
Add twinecheck.
1 parent 935f493 commit 24995a2

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ jobs:
5151
- python-version: "3.13"
5252
env:
5353
TOXENV: docs
54+
- python-version: "3.13"
55+
env:
56+
TOXENV: twinecheck
5457
steps:
5558
- uses: actions/checkout@v4
5659
- name: Set up Python ${{ matrix.python-version }}

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
license='BSD',
1111
description='Scrapy middleware for Zyte Smart Proxy Manager',
1212
long_description=readme,
13+
long_description_content_type="text/x-rst",
1314
maintainer='Raul Gallegos',
1415
maintainer_email='[email protected]',
1516
author='Zyte',

tox.ini

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,12 @@ changedir = {[docs]changedir}
6464
deps = {[docs]deps}
6565
commands =
6666
sphinx-build -nW -b html . {envtmpdir}/html
67+
68+
[testenv:twinecheck]
69+
basepython = python3
70+
deps =
71+
twine==5.1.1
72+
build==1.2.2
73+
commands =
74+
python -m build --sdist
75+
twine check dist/*

0 commit comments

Comments
 (0)