From 8f54e5d5aeac5f6221e831adee9a41ccb0447a12 Mon Sep 17 00:00:00 2001 From: Stan Triepels <1939656+GDay@users.noreply.github.com> Date: Tue, 10 Sep 2024 00:10:14 +0200 Subject: [PATCH] Add twine check and fix readme (#216) * Add twine check * add poetry to install * move up remove black/flake formatting * fix path * fix? * fix rst? * add rstcheck * test all files? * all * remove complaining image * only check readme * remove not needed dependencies --- .github/workflows/test.yml | 12 +++++++----- README.rst | 7 +------ 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 040de58..9966355 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,6 +15,12 @@ jobs: run: | pipx install ruff==0.4.10 ruff format . --check && ruff check . + - name: Check twine + run: | + python -m pip install twine poetry rstcheck + poetry build + rstcheck README.rst + twine check dist/* test: runs-on: ubuntu-latest @@ -93,11 +99,7 @@ jobs: - name: Upload to coveralls run: | python -m pip install --upgrade pip - python -m pip install coveralls flake8 black + python -m pip install coveralls coveralls --service=github --finish env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Check flake8/black - run: | - flake8 . - black --check . diff --git a/README.rst b/README.rst index 823eae3..30ddba3 100644 --- a/README.rst +++ b/README.rst @@ -1,7 +1,7 @@ A multiprocessing distributed task queue for Django --------------------------------------------------- -|image0| |image1| |docs| |downloads| +|image0| |image1| |downloads| Django Q2 is a fork of Django Q. Big thanks to Ilan Steemers for starting this project. Unfortunately, development has stalled since June 2021. Django Q2 is the new updated version of Django Q, with dependencies updates, docs updates and several bug fixes. Original repository: https://github.com/Koed00/django-q @@ -214,7 +214,6 @@ Create a superuser with: make createsuperuser - Testing ~~~~~~~ @@ -246,9 +245,5 @@ Acknowledgements :target: https://github.com/GDay/django-q2/actions?query=workflow%3Atests .. |image1| image:: https://coveralls.io/repos/github/GDay/django-q2/badge.svg?branch=master :target: https://coveralls.io/github/GDay/django-q2?branch=master -.. |docs| image:: https://readthedocs.org/projects/docs/badge/?version=latest - :alt: Documentation Status - :scale: 100 - :target: https://django-q2.readthedocs.org/ .. |downloads| image:: https://img.shields.io/pypi/dm/django-q2 :target: https://img.shields.io/pypi/dm/django-q2