This commit is contained in:
Alexander Myasoedov
2026-08-18 18:49:56 +03:00
parent 27c160eaa3
commit 3b1067c317
5 changed files with 11 additions and 8 deletions
+1 -1
View File
@@ -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
+2 -2
View File
@@ -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
+1
View File
@@ -17,6 +17,7 @@ jobs:
matrix:
python-version:
- "3.12"
- "3.14"
steps:
- uses: actions/checkout@v3
- name: Install poetry
+4 -4
View File
@@ -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
+3 -1
View File
@@ -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"