mirror of
https://github.com/arcan1s/ahriman.git
synced 2026-07-16 15:51:08 +00:00
some play with renaming
This commit is contained in:
@@ -0,0 +1,5 @@
|
|||||||
|
[tool.bandit]
|
||||||
|
skips = [
|
||||||
|
"B404",
|
||||||
|
"B603",
|
||||||
|
]
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
skips:
|
|
||||||
- B404
|
|
||||||
- B603
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
[pytest]
|
|
||||||
addopts = --cov=ahriman --cov-report=term-missing:skip-covered --no-cov-on-fail --cov-fail-under=100 --spec
|
|
||||||
asyncio_default_fixture_loop_scope = function
|
|
||||||
asyncio_mode = auto
|
|
||||||
pythonpath = tests
|
|
||||||
resource-path.directory-name-test-resources = ../../tests/testresources
|
|
||||||
spec_test_format = {result} {docstring_summary}
|
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
[pytest]
|
||||||
|
addopts = [
|
||||||
|
"--cov=ahriman",
|
||||||
|
"--cov-report=term-missing:skip-covered",
|
||||||
|
"--no-cov-on-fail",
|
||||||
|
"--cov-fail-under=100",
|
||||||
|
"--spec",
|
||||||
|
]
|
||||||
|
asyncio_default_fixture_loop_scope = "function"
|
||||||
|
asyncio_mode = "auto"
|
||||||
|
"resource-path.directory-name-test-resources" = "../../tests/testresources"
|
||||||
|
spec_test_format = "{result} {docstring_summary}"
|
||||||
+3
-3
@@ -20,9 +20,9 @@ build() {
|
|||||||
npm --prefix "frontend" install --cache "$srcdir/npm-cache"
|
npm --prefix "frontend" install --cache "$srcdir/npm-cache"
|
||||||
npm --prefix "frontend" run build
|
npm --prefix "frontend" run build
|
||||||
|
|
||||||
python -m build --wheel --no-isolation ahriman-core
|
python -m build --wheel --no-isolation "ahriman-core"
|
||||||
python -m build --wheel --no-isolation ahriman-triggers
|
python -m build --wheel --no-isolation "ahriman-triggers"
|
||||||
python -m build --wheel --no-isolation ahriman-web
|
python -m build --wheel --no-isolation "ahriman-web"
|
||||||
}
|
}
|
||||||
|
|
||||||
package_ahriman() {
|
package_ahriman() {
|
||||||
|
|||||||
+2
-1
@@ -62,9 +62,10 @@ exclude = [
|
|||||||
"/recipes",
|
"/recipes",
|
||||||
"/tools",
|
"/tools",
|
||||||
"tests",
|
"tests",
|
||||||
"/.bandit.yml",
|
"/.bandit.toml",
|
||||||
"/.dockerignore",
|
"/.dockerignore",
|
||||||
"/.pylint.toml",
|
"/.pylint.toml",
|
||||||
|
"/.pytest.toml",
|
||||||
"/.readthedocs.yml",
|
"/.readthedocs.yml",
|
||||||
"/conftest.py",
|
"/conftest.py",
|
||||||
"/github-logo.png",
|
"/github-logo.png",
|
||||||
|
|||||||
Reference in New Issue
Block a user