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: CONTRIBUTING.md
+11-10Lines changed: 11 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,27 +18,28 @@ Before contributing to the `posit-sdk`, ensure that the following prerequisites
18
18
> [!WARNING]
19
19
> Executing `make` will utilize `pip` to install third-party packages in your activated Python environment. Please review the [`Makefile`](./Makefile) to verify behavior before executing any commands.
20
20
21
-
1. Fork the repository and clone it to your local machine.
22
-
1. Create a new branch for your feature or bug fix.
23
-
1. Run `make` to run the default development workflow.
24
-
1. Make your changes and test them thoroughly using `make test`
25
-
1. Run `make fmt` and `make lint` to verify adherence to the project style guide.
26
-
1. Commit your changes and push them to your forked repository.
27
-
1. Submit a pull request to the main repository.
21
+
1. Fork the repository and open it in your development environment.
22
+
2. Run `make` to run the default development workflow.
23
+
3. Make your changes and test them thoroughly using `make test`
24
+
4. Run `make fmt` and `make lint` to verify adherence to the project style guide.
25
+
5. Commit your changes and push them to your forked repository.
26
+
6. Submit a pull request to the main repository.
28
27
29
28
## Tooling
30
29
31
30
Use the default make target to execute the full build pipeline. For details on specific targets, refer to the [Makefile](./Makefile).
32
31
33
32
## Style Guide
34
33
35
-
We use [Ruff](https://docs.astral.sh/ruff/) for linting and code formatting. All proposed changes must successfully pass the `make lint` rules prior to merging.
34
+
We use [Ruff](https://docs.astral.sh/ruff/) for linting and code formatting. Run `make deps`to install it.
36
35
37
-
Utilize `make fmt lint fix` to format and lint your changes.
36
+
All proposed changes must successfully pass the `make lint` rules prior to merging.
37
+
38
+
Utilize `make fmt lint` to format and lint your changes.
38
39
39
40
### (Optional) pre-commit
40
41
41
-
This project is configured for [pre-commit](https://pre-commit.com). Once enabled, a `git commit` hook is created, which invokes `make fmt lint fix`.
42
+
This project is configured for [pre-commit](https://pre-commit.com). Once enabled, a `git commit` hook is created, which invokes `make fmt lint`.
42
43
43
44
To enable pre-commit on your machine, run `pre-commit install`.
0 commit comments