koxudaxi / ruff-pycharm-plugin

PyCharm plugin for ruff. This plugin provides reformat code using ruff.
MIT License
204 stars 10 forks source link

Missing copyright notice at top of file #402

Open PilarczykM opened 6 months ago

PilarczykM commented 6 months ago

Currently, there's a discrepancy regarding the presence of copyright information at the top of files, where the tool "ruff" informs users about its absence, but plugin not. Are there plans to improve this?

__main__.py:1:1: CPY001 Missing copyright notice at top of file

pyproject.toml

[tool.ruff.lint]
preview = true
extend-select = ["CPY"]

Tools: PyCharm 2023.3.5 (Community Edition Ruff 0.0.31

koxudaxi commented 6 months ago

@PilarczykM Thanks for the good question. I have considered this, but I have confirmed that VSCode does not display this type of warning either, so I have no particular plans to implement it. (Unless my confirmation is wrong.)

Do you have any suggestions for a good implementation?