{
"event": "PreToolUse",
"tool_name": "Edit",
"tool_input": {
"file_path": "\/var\/www\/dev.campus.systemische-tools.de\/crawler\/pyproject.toml",
"old_string": "\"src\/infrastructure\/persistence\/*.py\" = [\"S608\"]",
"new_string": "\"src\/infrastructure\/persistence\/*.py\" = [\"S608\"]\n\"src\/interfaces\/cli\/main.py\" = [\"B008\", \"FBT001\", \"FBT002\"]",
"replace_all": false
}
}
{
"tool_response": {
"filePath": "\/var\/www\/dev.campus.systemische-tools.de\/crawler\/pyproject.toml",
"oldString": "\"src\/infrastructure\/persistence\/*.py\" = [\"S608\"]",
"newString": "\"src\/infrastructure\/persistence\/*.py\" = [\"S608\"]\n\"src\/interfaces\/cli\/main.py\" = [\"B008\", \"FBT001\", \"FBT002\"]",
"originalFile": "[project]\nname = \"crawler\"\nversion = \"0.1.0\"\ndescription = \"SEO-crawler for campus-am-see.de\"\nrequires-python = \">=3.12\"\n\n[tool.ruff]\nline-length = 100\ntarget-version = \"py312\"\nextend-exclude = [\"venv\", \".venv\", \"artifacts\", \"storage\", \"logs\"]\n\n[tool.ruff.lint]\nselect = [\"ALL\"]\nignore = [\n \"D100\", \"D101\", \"D102\", \"D103\", \"D104\", \"D105\", \"D106\", \"D107\",\n \"D203\", \"D213\",\n \"COM812\",\n \"CPY001\",\n \"TRY003\", \"EM101\", \"EM102\",\n \"TC001\", \"TC003\",\n \"EXE002\",\n]\n\n[tool.ruff.lint.per-file-ignores]\n\"tests\/**\/*.py\" = [\"S101\", \"PLR2004\", \"ANN\", \"DTZ001\", \"PT011\"]\n\"scripts\/**\/*.py\" = [\"T201\", \"INP001\"]\n\"src\/infrastructure\/persistence\/*.py\" = [\"S608\"]\n\n[tool.mypy]\npython_version = \"3.12\"\nstrict = true\npackages = [\"src\"]\nexclude = \"(venv|artifacts|storage|logs)\"\n\n[[tool.mypy.overrides]]\nmodule = [\"extruct\", \"extruct.*\", \"mysql.*\"]\nignore_missing_imports = true\n\n[tool.pytest.ini_options]\ntestpaths = [\"tests\"]\nasyncio_mode = \"auto\"\naddopts = \"-q --strict-markers\"\n\n[tool.coverage.run]\nsource = [\"src\"]\nbranch = true\nomit = [\"src\/domain\/ports\/*\"]\n\n[tool.coverage.report]\nexclude_also = [\n \"\\\\.\\\\.\\\\.\",\n \"raise NotImplementedError\",\n \"if TYPE_CHECKING:\",\n]\n",
"structuredPatch": [
{
"oldStart": 25,
"oldLines": 6,
"newStart": 25,
"newLines": 7,
"lines": [
" \"tests\/**\/*.py\" = [\"S101\", \"PLR2004\", \"ANN\", \"DTZ001\", \"PT011\"]",
" \"scripts\/**\/*.py\" = [\"T201\", \"INP001\"]",
" \"src\/infrastructure\/persistence\/*.py\" = [\"S608\"]",
"+\"src\/interfaces\/cli\/main.py\" = [\"B008\", \"FBT001\", \"FBT002\"]",
" ",
" [tool.mypy]",
" python_version = \"3.12\""
]
}
],
"userModified": false,
"replaceAll": false
}
}