mirror of
https://github.com/msoedov/agentic_security.git
synced 2026-09-29 11:22:25 +02:00
fix(pc):
This commit is contained in:
@@ -18,7 +18,7 @@ jobs:
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.12'
|
||||
python-version: '3.14'
|
||||
- name: Install poetry
|
||||
run: pipx install poetry==$POETRY_VERSION
|
||||
- name: Install pre-commit
|
||||
|
||||
@@ -20,10 +20,10 @@ jobs:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Install poetry
|
||||
run: pipx install poetry==$POETRY_VERSION
|
||||
- name: Set up Python 3.12
|
||||
- name: Set up Python 3.14
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: "3.12"
|
||||
python-version: "3.14"
|
||||
cache: "poetry"
|
||||
- name: Build project for distribution
|
||||
run: poetry build --format sdist
|
||||
|
||||
@@ -17,6 +17,7 @@ jobs:
|
||||
matrix:
|
||||
python-version:
|
||||
- "3.12"
|
||||
- "3.14"
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Install poetry
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
default_language_version:
|
||||
python: python3.12
|
||||
python: python3.14
|
||||
|
||||
repos:
|
||||
- repo: https://github.com/asottile/pyupgrade
|
||||
@@ -12,13 +12,13 @@ repos:
|
||||
rev: 26.3.1
|
||||
hooks:
|
||||
- id: black
|
||||
language_version: python3.12
|
||||
language_version: python3.14
|
||||
|
||||
- repo: https://github.com/pycqa/flake8
|
||||
rev: 7.3.0
|
||||
hooks:
|
||||
- id: flake8
|
||||
language_version: python3.12
|
||||
language_version: python3.14
|
||||
additional_dependencies: [flake8-docstrings]
|
||||
exclude: '^(tests)/'
|
||||
|
||||
@@ -57,7 +57,7 @@ repos:
|
||||
# - id: mdformat
|
||||
# name: mdformat
|
||||
# entry: mdformat .
|
||||
# language_version: python3.12
|
||||
# language_version: python3.14
|
||||
# files: "docs/.*\\.md$"
|
||||
|
||||
- repo: https://github.com/hadialqattan/pycln
|
||||
|
||||
@@ -24,7 +24,9 @@ OWASP_LLM_TOP_10 = {
|
||||
"LLM10": "Model Theft",
|
||||
}
|
||||
|
||||
OWASP_PROJECT_URL = "https://owasp.org/www-project-top-10-for-large-language-model-applications/"
|
||||
OWASP_PROJECT_URL = (
|
||||
"https://owasp.org/www-project-top-10-for-large-language-model-applications/"
|
||||
)
|
||||
|
||||
_DEFAULT_CATEGORY = "LLM01"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user