Skip to content

Commit b06b881

Browse files
committed
Fix README, add README linting step
1 parent 4fac09f commit b06b881

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
5656
- name: Linting
5757
run: |
58-
tox -e lint
58+
tox -e lint,readme
5959
- name: Documentation check
6060
run: |
6161
echo "Uncomment me below once the badges are working..."

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
author_email=__email__,
1919
maintainer=__maintainer__,
2020
maintainer_email=__email__,
21-
description=Path("README.rst").read_text("utf-8").splitlines()[2],
22-
long_description=Path("README.rst").read_text("utf-8"),
21+
description=Path("README.rst").read_text("utf-8").splitlines()[34],
22+
long_description="\n".join(Path("README.rst").read_text("utf-8").splitlines()[:-4]).replace("|br|", r"\\"),
2323
long_description_content_type="text/x-rst; charset=UTF-8",
2424
url="https://github.com/msmdev/pygpcca",
2525
download_url="https://pypi.org/project/pygpcca/",

0 commit comments

Comments
 (0)