mirror of
https://github.com/fhswf/aki_prj23_transparenzregister.git
synced 2025-06-22 22:23:55 +02:00
Repaired the SQL copy and reduced the log volume a bit (#141)
- Added a cli interface to the SQL copy - Repaired the SQL copy function - Added the SQL copy function to the scripts - Reduced the logging verbosity
This commit is contained in:
@ -96,6 +96,7 @@ pytest-mock = "^3.11.1"
|
||||
pytest-repeat = "^0.9.1"
|
||||
|
||||
[tool.poetry.scripts]
|
||||
copy-sql = "aki_prj23_transparenzregister.utils.sql.copy_sql:copy_db_cli"
|
||||
data-transfer = "aki_prj23_transparenzregister.utils.data_transfer:transfer_data"
|
||||
reset-sql = "aki_prj23_transparenzregister.utils.sql.connector:reset_all_tables"
|
||||
|
||||
@ -136,7 +137,7 @@ unfixable = ["B"]
|
||||
builtins-ignorelist = ["id"]
|
||||
|
||||
[tool.ruff.per-file-ignores]
|
||||
"tests/*.py" = ["S101", "SLF001", "S311", "D103"]
|
||||
"tests/*.py" = ["S101", "SLF001", "S311", "D103", "PLR0913"]
|
||||
|
||||
[tool.ruff.pydocstyle]
|
||||
convention = "google"
|
||||
|
Reference in New Issue
Block a user