You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8d6a03d
Browse filesBrowse the repository at this point in the historyBrowse files
* fix code to comply with ruff
* replace pylint with ruff in pre-commit
* remove pylint disable from codemodder code
* update contributing.md
* add ruff to makefile
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+5-6Lines changed: 5 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,8 @@
2
2
3
3
## Pre-commit install
4
4
5
-
We use [pre-commit](https://pre-commit.com/) to run some quick linting such as `black`.
6
-
While pre-commit isn't configured in CI, `black` is. `pylint` and running tests are not configured
7
-
for pre-commit so commiting is fast.
5
+
We use [pre-commit](https://pre-commit.com/) to run some quick linting such as `black` and `ruff`.
6
+
This also runs in CI.
8
7
9
8
10
9
## Local Development
@@ -15,11 +14,11 @@ but for local development here is a good workflow.
15
14
1. To use virtualenv, create an environment with `virtualenv pixeeenv` or `/usr/bin/env python3 -m venv pixeeenv`
16
15
to specify a specific Python version. If using `bash` or any compatible shell, activate with `source pixeeenv/bin/activate`. Otherwise, look at [`venv`'s documentation](https://docs.python.org/3/library/venv.html) for instructions.
17
16
18
-
1.`cd codemodder-python` and `pip install -e .` to install the package in development mode
17
+
2.`cd codemodder-python` and `pip install -e .` to install the package in development mode
19
18
20
-
1. Run `pip install ".[all]"` to install packages used for development and testing
19
+
3. Run `pip install ".[all]"` to install packages used for development and testing
21
20
22
-
1. You should now be able to run `pylint`, `pytest`, etc.
21
+
4. You should now be able to run `ruff`, `pytest`, etc.
0 commit comments