I have tested pre-commit hook and it works fine but when I tried to implement a new configuration in pyproject.toml, I realized it does not consider the configuration.
[tool.ruff]
line-length = 200
ignore = ['E501', 'F841']
I still get the error E501 even though I have ignored it.
