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
Copy file name to clipboardExpand all lines: README.md
+18Lines changed: 18 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,3 +22,21 @@ In your `.github/workflows/main.yml`, set environment variable `PYLINT_THRESHOLD
22
22
You can drop the `env:` section in your `main.yml` file if you want to use the default value `9`.
23
23
24
24
Set `BLACK_LINE_MAXLEN` to the desired max line length.
25
+
26
+
In your local repo, it may be useful to add a `validation.sh` script to allow local testing before the GitHub action is run on the server. The following is an example used in a GitHub codespace (where `./venv/` stores the virtual environment):
27
+
28
+
#!/bin/sh -e
29
+
30
+
pip install black mypy pylint-fail-under reorder-python-imports safety
0 commit comments