Skip to content

pre-commit hook does not consider configuration in pyproject.toml. #136

@amirnaeimi

Description

@amirnaeimi

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.
Screenshot from 2022-09-09 23-50-25

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions