Skip to content

Commit

Permalink
dev tool upgrades, add black
Browse files Browse the repository at this point in the history
  • Loading branch information
bckohan committed Dec 22, 2023
1 parent a0ad1e2 commit ccb807c
Show file tree
Hide file tree
Showing 26 changed files with 478 additions and 482 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ jobs:
- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: 1.5.1
virtualenvs-create: true
virtualenvs-in-project: true
- name: Install Dependencies
Expand All @@ -55,9 +54,11 @@ jobs:
python-version: ['3.9', '3.10', '3.11', '3.12']
django-version:
- 'Django~=3.2.0' # LTS April 2024
- 'Django~=4.1.0' # December 2023
- 'Django~=4.2.0' # LTS April 2026
- 'Django~=5.0.0' # April 2025
exclude:
- python-version: '3.9'
django-version: 'Django~=5.0.0'
- python-version: '3.11'
django-version: 'Django~=3.2.0'
- python-version: '3.12'
Expand All @@ -76,7 +77,6 @@ jobs:
- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: 1.5.1
virtualenvs-create: true
virtualenvs-in-project: true
- name: Install Release Dependencies
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@ justified is acceptable:
.. code-block::
poetry run isort django_typer
poetry run black django_typer
poetry run pylint django_typer
poetry run mypy django_typer
poetry run doc8 -q doc
poetry check
poetry run pip check
poetry run safety check --full-report
poetry run python -m readme_renderer ./README.rst
Expand Down
5 changes: 4 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
|MIT license| |PyPI version fury.io| |PyPI pyversions| |PyPi djversions| |PyPI status| |Documentation Status|
|Code Cov| |Test Status|
|Code Cov| |Test Status| |Code Style|

.. |MIT license| image:: https://img.shields.io/badge/License-MIT-blue.svg
:target: https://lbesson.mit-license.org/
Expand All @@ -25,6 +25,9 @@
.. |Test Status| image:: https://github.com/bckohan/django-typer/workflows/test/badge.svg
:target: https://github.com/bckohan/django-typer/actions

.. |Code Style| image:: https://img.shields.io/badge/code%20style-black-000000.svg
:target: https://github.com/psf/black


django-typer
############
Expand Down
Loading

0 comments on commit ccb807c

Please sign in to comment.