Skip to content

Commit d2c15fd

Browse files
rzbluepjbuterbaugh
authored andcommitted
Update code formatting article after wpiformat update (#2268)
* Update code formatting article after wpiformat update * update RLI
1 parent d752886 commit d2c15fd

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

source/docs/software/advanced-gradlerio/code-formatting.rst

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -176,9 +176,6 @@ Requirements
176176
^^^^^^^^^^^^
177177

178178
- `Python 3.6 or higher <https://www.python.org/>`__
179-
- clang-format (included with `LLVM <https://releases.llvm.org/download.html>`__)
180-
181-
.. important:: Windows is not currently supported at this time! Installing LLVM with Clang **will** break normal robot builds if installed on Windows.
182179

183180
You can install `wpiformat <https://github.com/wpilibsuite/styleguide/blob/main/wpiformat/README.rst>`__ by typing ``pip3 install wpiformat`` into a terminal or command prompt.
184181

@@ -213,6 +210,6 @@ An example styleguide is shown below:
213210

214211
You can turn this into a :doc:`CI check <robot-code-ci>` by running ``git --no-pager diff --exit-code HEAD``, as shown in the example GitHub Actions workflow below:
215212

216-
.. rli:: https://raw.githubusercontent.com/wpilibsuite/allwpilib/v2023.4.3/.github/workflows/lint-format.yml
213+
.. rli:: https://raw.githubusercontent.com/wpilibsuite/allwpilib/5fac18ff4ad1db92ec6fcbd437043a38028e99c4/.github/workflows/lint-format.yml
217214
:language: yaml
218-
:lines: 1-5, 12-40
215+
:lines: 1-5, 12-34

0 commit comments

Comments
 (0)