ruff/.github/workflows
Simon Brugman 28f05aa6e7
feat: update scripts to new rules structure (#2078)
- optional `prefix` argument for `add_plugin.py`
- rules directory instead of `rules.rs`
- pathlib syntax
- fix test case where code was added instead of name

Example:
```
python scripts/add_plugin.py --url https://pypi.org/project/example/1.0.0/ example --prefix EXA
python scripts/add_rule.py --name SecondRule --code EXA002 --linter example
python scripts/add_rule.py --name FirstRule --code EXA001 --linter example
python scripts/add_rule.py --name ThirdRule --code EXA003 --linter example
 ```

Note that it breaks compatibility with 'old style' plugins (generation works fine, but namespaces need to be changed):
```
python scripts/add_rule.py --name DoTheThing --code PLC999 --linter pylint
```
2023-01-21 19:19:58 -05:00
..
ci.yaml feat: update scripts to new rules structure (#2078) 2023-01-21 19:19:58 -05:00
flake8-to-ruff.yaml Upgrade maturin to 0.14 (#846) 2022-11-21 10:00:14 -05:00
playground.yaml Actually fix wasm-pack build command (#1862) 2023-01-13 23:20:20 -05:00
ruff.yaml Fix name of ruff-pre-commit event 2023-01-17 17:25:02 -05:00