-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
pre-commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
--- | ||
name: Custom issue template | ||
about: Describe this issue template's purpose here. | ||
|
||
--- | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "github-actions" | ||
directory: "/" # .github/workflows | ||
schedule: | ||
interval: "monthly" |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: Lint | ||
|
||
on: | ||
push: | ||
branches: [master, develop] | ||
pull_request: | ||
branches: [master, develop] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
lint: | ||
name: pre-commit | ||
runs-on: ubuntu-latest | ||
if: github.repository == 'noaa-oar-arl/monet' | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-python@v2 | ||
with: | ||
python-version: "3.8" | ||
- uses: pre-commit/action@v2.0.3 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: "v4.1.0" | ||
hooks: | ||
- id: trailing-whitespace | ||
- id: end-of-file-fixer | ||
- id: check-docstring-first | ||
- id: check-yaml | ||
|
||
- repo: https://github.com/asottile/pyupgrade | ||
rev: "v2.31.0" | ||
hooks: | ||
- id: pyupgrade | ||
args: [--py36-plus] | ||
|
||
- repo: https://github.com/PyCQA/isort | ||
rev: "5.10.1" | ||
hooks: | ||
- id: isort | ||
|
||
- repo: https://github.com/psf/black | ||
rev: "21.12b0" | ||
hooks: | ||
- id: black | ||
|
||
- repo: https://github.com/PyCQA/flake8 | ||
rev: "4.0.1" | ||
hooks: | ||
- id: flake8 | ||
|
||
- repo: https://github.com/pre-commit/mirrors-prettier | ||
rev: "v2.5.1" | ||
hooks: | ||
- id: prettier |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,31 @@ | ||
PLEASE READ THIS SOFTWARE LICENSE ("LICENSE") CAREFULLY BEFORE USING THE | ||
SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING TO BE BOUND BY ALL OF THE | ||
TERMS OF THIS LICENSE. IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, | ||
PLEASE READ THIS SOFTWARE LICENSE ("LICENSE") CAREFULLY BEFORE USING THE | ||
SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING TO BE BOUND BY ALL OF THE | ||
TERMS OF THIS LICENSE. IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, | ||
DO NOT USE THE SOFTWARE. | ||
|
||
Copyright © 2016 the National Oceanic and Atmospheric Administration Office of | ||
Atmospheric Research Air Resources Laboratory ("NOAA OAR ARL"). | ||
Copyright © 2016 the National Oceanic and Atmospheric Administration Office of | ||
Atmospheric Research Air Resources Laboratory ("NOAA OAR ARL"). | ||
All rights reserved. Developed by NOAA ARL https://www.arl.noaa.gov. | ||
|
||
Redistribution and use of the Software in source and binary forms, with or | ||
without modification, is permitted provided that the following conditions | ||
Redistribution and use of the Software in source and binary forms, with or | ||
without modification, is permitted provided that the following conditions | ||
are met: | ||
|
||
- Neither the names of NOAA's Air Resources Laboratory nor the names of its | ||
sponsors or contributors may be used to endorse or promote products derived | ||
- Neither the names of NOAA's Air Resources Laboratory nor the names of its | ||
sponsors or contributors may be used to endorse or promote products derived | ||
from this Software without specific prior written permission. | ||
|
||
- Redistributions of source code must retain the above copyright notices, this | ||
- Redistributions of source code must retain the above copyright notices, this | ||
list of conditions, and the disclaimer below. | ||
|
||
- Redistributions in binary form must reproduce the above copyright notice, this | ||
list of conditions, and the disclaimer below in the documentation and/or other | ||
- Redistributions in binary form must reproduce the above copyright notice, this | ||
list of conditions, and the disclaimer below in the documentation and/or other | ||
materials provided with the distribution. | ||
|
||
THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING, BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, INDIRECT, | ||
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES OR OTHER LIABILITY, | ||
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR | ||
THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING, BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, INDIRECT, | ||
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES OR OTHER LIABILITY, | ||
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR | ||
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,23 @@ | ||
@import url("theme.css"); | ||
|
||
.wy-side-nav-search>a img.logo, | ||
.wy-side-nav-search .wy-dropdown>a img.logo { | ||
width: 12rem | ||
.wy-side-nav-search > a img.logo, | ||
.wy-side-nav-search .wy-dropdown > a img.logo { | ||
width: 12rem; | ||
} | ||
|
||
.wy-side-nav-search { | ||
background-color: #eee; | ||
} | ||
|
||
.wy-side-nav-search>div.version { | ||
.wy-side-nav-search > div.version { | ||
display: none; | ||
} | ||
|
||
.wy-nav-top { | ||
background-color: #eee; | ||
} | ||
|
||
nav.wy-nav-top > a, i.fa-bars { | ||
color: #404040; /* this is the body text color */ | ||
nav.wy-nav-top > a, | ||
i.fa-bars { | ||
color: #404040; /* this is the body text color */ | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
{% extends "!layout.html" %} | ||
{% set css_files = css_files + ["_static/style.css"] %} | ||
{% extends "!layout.html" %} {% set css_files = css_files + | ||
["_static/style.css"] %} |