Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace "safety" by "pip-audit" #112

Merged
merged 1 commit into from
Aug 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ jobs:
run: |
./manage.py --help

- name: 'Safety'
- name: 'Run pip-audit'
run: |
./manage.py safety
./manage.py pip_audit

- name: 'Run tests with Python v${{ matrix.python-version }}'
env:
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ Because this is a project and not really a reuse-able-app ;)
[comment]: <> (✂✂✂ auto generated history start ✂✂✂)

* [v0.18.0.dev1](https://github.com/jedie/django-for-runners/compare/v0.17.4...v0.18.0.dev1)
* 2024-08-02 - Replace "safety" by "pip-audit"
* 2024-08-01 - Replace metaweather.com with open-meteo.com
* 2024-08-01 - Update test_add_gpx()
* 2024-08-01 - Update Leaflet to v1.9.4 and fix styles
Expand Down
11 changes: 10 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ dev = [
"pyflakes", # https://github.com/PyCQA/pyflakes
"codespell", # https://github.com/codespell-project/codespell
"EditorConfig", # https://github.com/editorconfig/editorconfig-core-py
"safety", # https://github.com/pyupio/safety
"pip-audit", # https://github.com/pypa/pip-audit
"mypy", # https://github.com/python/mypy
"twine", # https://github.com/pypa/twine
"typeguard", # https://github.com/agronholm/typeguard/
Expand Down Expand Up @@ -116,6 +116,14 @@ version = {attr = "for_runners.__version__"}
version_module_name = "for_runners" # Used by update_readme_history()


[tool.cli_base.pip_audit]
# https://github.com/jedie/cli-base-utilities/blob/main/docs/pip_audit.md
requirements=["requirements.dev.txt"]
strict=true
require_hashes=true
ignore-vuln=[]


[tool.darker]
src = ['.']
revision = "origin/main..."
Expand Down Expand Up @@ -204,6 +212,7 @@ applied_migrations = [
"d65b082", # 2023-12-17T12:51:22+01:00
"a66e5ae", # 2024-01-16T19:13:13+01:00
"f8be3e0", # 2024-07-16T19:35:26+02:00
"52669d0", # 2024-08-02T15:47:04+02:00
]

[manageprojects.cookiecutter_context.cookiecutter]
Expand Down
Loading
Loading