-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
1,345 additions
and
0 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,30 @@ | ||
# https://pre-commit.com/ | ||
repos: | ||
# isort should run before black as black sometimes tweaks the isort output | ||
- repo: https://github.com/timothycrosley/isort | ||
rev: 4.3.21-2 | ||
hooks: | ||
- id: isort | ||
files: .+\.py$ | ||
# https://github.com/python/black#version-control-integration | ||
- repo: https://github.com/python/black | ||
rev: stable | ||
hooks: | ||
- id: black | ||
- repo: https://gitlab.com/pycqa/flake8 | ||
rev: 3.7.9 | ||
hooks: | ||
- id: flake8 | ||
- repo: https://github.com/pre-commit/mirrors-mypy | ||
rev: v0.761 # Must match ci/requirements/*.yml | ||
hooks: | ||
- id: mypy | ||
# run this occasionally, ref discussion https://github.com/pydata/xarray/pull/3194 | ||
# - repo: https://github.com/asottile/pyupgrade | ||
# rev: v1.22.1 | ||
# hooks: | ||
# - id: pyupgrade | ||
# args: | ||
# - "--py3-only" | ||
# # remove on f-strings in Py3.7 | ||
# - "--keep-percent-format" |
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,30 @@ | ||
# .readthedocs.yml | ||
# Read the Docs configuration file | ||
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details | ||
|
||
# Required | ||
version: 2 | ||
|
||
build: | ||
image: stable | ||
|
||
# Build documentation in the docs/ directory with Sphinx | ||
sphinx: | ||
configuration: doc/conf.py | ||
|
||
# Build documentation with MkDocs | ||
#mkdocs: | ||
# configuration: mkdocs.yml | ||
|
||
# Optionally build your docs in additional formats such as PDF | ||
# formats: | ||
|
||
# Optionally set the version of Python and requirements required to build your docs | ||
conda: | ||
environment: ci/doc.yml | ||
|
||
python: | ||
install: | ||
- method: pip | ||
path: . |
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 @@ | ||
from .accessor import CFDataArrayAccessor, CFDatasetAccessor |
Oops, something went wrong.