Add supported Django versions to README #20
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Code Quality Checks | |
on: | |
push: | |
branches: [main, development] | |
pull_request: | |
branches: [main, development] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.8 | |
- name: Install poetry | |
run: pip install poetry | |
- name: Install dependencies | |
run: poetry update | |
- name: Check format with blue | |
run: poetry run blue --check django_url_security/ tests/ | |
- name: Run pre-commit checks | |
run: poetry run pre-commit run --all-files | |
- name: Check type hinting with mypy | |
run: poetry run mypy --strict --config-file=mypy.ini django_url_security/ | |
- name: Check style with pylint | |
run: poetry run pylint django_url_security/ tests/ |