mirror of
https://github.com/msoedov/agentic_security.git
synced 2026-09-30 19:59:34 +02:00
fix(pc):
This commit is contained in:
1 parent
27c160eaa3
commit
3b1067c317
5 files changed
+11
-8
No files matched your search
@@ -18,7 +18,7 @@ jobs:
|
|||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.12'
|
python-version: '3.14'
|
||||||
- name: Install poetry
|
- name: Install poetry
|
||||||
run: pipx install poetry==$POETRY_VERSION
|
run: pipx install poetry==$POETRY_VERSION
|
||||||
- name: Install pre-commit
|
- name: Install pre-commit
|
||||||
|
|||||||
@@ -20,10 +20,10 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Install poetry
|
- name: Install poetry
|
||||||
run: pipx install poetry==$POETRY_VERSION
|
run: pipx install poetry==$POETRY_VERSION
|
||||||
- name: Set up Python 3.12
|
- name: Set up Python 3.14
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: "3.12"
|
python-version: "3.14"
|
||||||
cache: "poetry"
|
cache: "poetry"
|
||||||
- name: Build project for distribution
|
- name: Build project for distribution
|
||||||
run: poetry build --format sdist
|
run: poetry build --format sdist
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
python-version:
|
python-version:
|
||||||
- "3.12"
|
- "3.12"
|
||||||
|
- "3.14"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Install poetry
|
- name: Install poetry
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
default_language_version:
|
default_language_version:
|
||||||
python: python3.12
|
python: python3.14
|
||||||
|
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/asottile/pyupgrade
|
- repo: https://github.com/asottile/pyupgrade
|
||||||
@@ -12,13 +12,13 @@ repos:
|
|||||||
rev: 26.3.1
|
rev: 26.3.1
|
||||||
hooks:
|
hooks:
|
||||||
- id: black
|
- id: black
|
||||||
language_version: python3.12
|
language_version: python3.14
|
||||||
|
|
||||||
- repo: https://github.com/pycqa/flake8
|
- repo: https://github.com/pycqa/flake8
|
||||||
rev: 7.3.0
|
rev: 7.3.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: flake8
|
- id: flake8
|
||||||
language_version: python3.12
|
language_version: python3.14
|
||||||
additional_dependencies: [flake8-docstrings]
|
additional_dependencies: [flake8-docstrings]
|
||||||
exclude: '^(tests)/'
|
exclude: '^(tests)/'
|
||||||
|
|
||||||
@@ -57,7 +57,7 @@ repos:
|
|||||||
# - id: mdformat
|
# - id: mdformat
|
||||||
# name: mdformat
|
# name: mdformat
|
||||||
# entry: mdformat .
|
# entry: mdformat .
|
||||||
# language_version: python3.12
|
# language_version: python3.14
|
||||||
# files: "docs/.*\\.md$"
|
# files: "docs/.*\\.md$"
|
||||||
|
|
||||||
- repo: https://github.com/hadialqattan/pycln
|
- repo: https://github.com/hadialqattan/pycln
|
||||||
|
|||||||
@@ -24,7 +24,9 @@ OWASP_LLM_TOP_10 = {
|
|||||||
"LLM10": "Model Theft",
|
"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"
|
_DEFAULT_CATEGORY = "LLM01"
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user