-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #66 from ori-drs/improvement/black-formatting
Apply black formatter and add github action to check conformity
- Loading branch information
Showing
8 changed files
with
1,430 additions
and
641 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
name: Black formatting | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: psf/black@stable | ||
with: | ||
src: "spot_driver/src spot_driver/scripts" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,23 @@ | ||
import os | ||
import sys | ||
sys.path.insert(0, os.path.abspath('../scripts')) | ||
|
||
project = 'spot_driver' | ||
copyright = '2020, Dave Niewinski' | ||
author = 'Dave Niewinski' | ||
sys.path.insert(0, os.path.abspath("../scripts")) | ||
|
||
extensions = [ | ||
'sphinx.ext.autodoc', | ||
'sphinx.ext.coverage', | ||
'sphinx.ext.napoleon' | ||
] | ||
project = "spot_driver" | ||
copyright = "2020, Dave Niewinski" | ||
author = "Dave Niewinski" | ||
|
||
html_theme = 'clearpath-sphinx-theme' | ||
extensions = ["sphinx.ext.autodoc", "sphinx.ext.coverage", "sphinx.ext.napoleon"] | ||
|
||
html_theme = "clearpath-sphinx-theme" | ||
html_theme_path = ["."] | ||
|
||
html_static_path = ['./clearpath-sphinx-theme/static'] | ||
html_static_path = ["./clearpath-sphinx-theme/static"] | ||
|
||
html_sidebars = { | ||
'**': ['sidebartoc.html', 'sourcelink.html', 'searchbox.html'] | ||
} | ||
html_sidebars = {"**": ["sidebartoc.html", "sourcelink.html", "searchbox.html"]} | ||
|
||
html_show_sphinx = False | ||
|
||
html_logo = 'clearpath-sphinx-theme/static/clearpathlogo.png' | ||
html_logo = "clearpath-sphinx-theme/static/clearpathlogo.png" | ||
|
||
html_favicon = 'clearpath-sphinx-theme/static/favicon.ico' | ||
html_favicon = "clearpath-sphinx-theme/static/favicon.ico" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.