File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed
Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -742,15 +742,7 @@ you may cause yourself some trouble which may be difficult to trace).
742742It may be hard to remember to run linter tools every now and then.
743743Luckily, we can now add this Pylint execution to our continuous integration builds
744744as one of the extra tasks.
745- Since we're adding an extra feature to our CI workflow,
746- let's start this from a new feature branch from the `develop` branch:
747-
748- ~~~
749- $ git switch -c pylint-ci develop # note a shorthand for creating a branch from another and switching to it
750- ~~~
751- {: .language-bash}
752-
753- Then to add Pylint to our CI workflow,
745+ To add Pylint to our CI workflow,
754746we can add the following step to our `steps` in `.github/workflows/main.yml`:
755747
756748~~~
@@ -772,7 +764,7 @@ Then we can just add this to our repo and trigger a build:
772764~~~
773765$ git add .github/workflows/main.yml
774766$ git commit -m "Add Pylint run to build"
775- $ git push origin pylint-ci
767+ $ git push origin test-suite
776768~~~
777769{: .language-bash}
778770
You can’t perform that action at this time.
0 commit comments