From 81e47a7718805b54819ac5d14d1df567300e4cce Mon Sep 17 00:00:00 2001 From: Simon Sawicki Date: Thu, 22 Feb 2024 23:10:34 +0100 Subject: [PATCH] Suggest runing format before lint --- CONTRIBUTING.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 130ed55ce..38ff67435 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -151,10 +151,11 @@ # DEVELOPER INSTRUCTIONS Scripts can be used to run simple tasks, like linting or testing, without having to run `hatch shell` first: ```shell -$ hatch run lint $ hatch run format +$ hatch run lint $ hatch run test ``` +Make sure to run `hatch run format` before `hatch run lint` since `autopep8` fixes errors that `ruff` detects but cannot fix. You can run scripts for all available and supported python versions sequentially by setting the `TEST_ALL` variable: ```shell