I am using Ruff, a formatter or linter tool for Python code.
I want to ignore some specific rules, and to write that config in pyproject.toml
.
My package structure is as follows.
.
├── LICENSE
├── pyproject.toml
├── README.md
├── src
│ └── mypackage/mymodule.py
└── tests
├── doc.md
└── test_mymodule.py
And, I want to ignore rules pydocstyle (D) in the tests/
directory.
lint
wasn't an expected property fortool.ruff
, ensure Ruff is up-to-date. – Dorri