and run pre-commit run --all-files, and it should complain about the rule.
ruff.....................................................................Failed
- hook id: ruff
- exit code: 1
app/peopledepot/settings.py:121:48: PTH118 `os.path.join()` should be replaced by `Path` with `/` operator
Found 1 error.
What changes did you make?
Why did you make the changes (we will use this info to test)?
How to test
change this line in
app/peopledepot/settings.py
fromto
and run
pre-commit run --all-files
, and it should complain about the rule.