Skip to content
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
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ repos:
src/actinia_core.egg-info/
)
- repo: https://github.com/mundialis/github-workflows
rev: 1.5.0
rev: 1.6.0
hooks:
- id: linting
2 changes: 2 additions & 0 deletions ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
# PLR2004 magic-value-comparison (unnamed numerical constants ("magic") values)
# PLR6301 Method could be a function, class method, or static method
# PLW0603 (checks for use of) global-statement
# RUF067 `__init__` module should only contain docstrings and re-exports
# S104 Possible binding to all interfaces
# S107 hardcoded-password-default
# S113 Probable use of `requests` call without timeout
Expand All @@ -25,6 +26,7 @@ lint.ignore = ["ANN001", "ANN201", "ANN202", "E501", "FA102", "N802", "N816", "P
"tests/testsuite.py" = [ "PLC0415",]
"src/actinia_cloudevent_plugin/resources/logging.py" = ["A005",]
"src/actinia_cloudevent_plugin/resources/config.py" = ["PLR0912", "SIM102","S105"]
"src/actinia_cloudevent_plugin/__init__.py" = ["RUF067",]
"tests/integrationtests/test_cloudevent.py" = ["PLR2004",]
"tests/cloudevent_receiver_server.py" = ["S104"]
"tests/integrationtests/test_hook.py" = ["PLR2004",]
2 changes: 1 addition & 1 deletion src/actinia_cloudevent_plugin/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@
# call this for development only with:
# `python3 -m actinia_cloudevent_plugin.main`
log.debug("starting app in development mode...")
# ruff: S201 :Use of `debug=True` in Flask app detected
# ignore ruff: S201 :Use of `debug=True` in Flask app detected
flask_app.run(debug=True, use_reloader=False) # noqa: S201
# for production environent use application in wsgi.py