Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
 * add-trailing-commas fix for cf/util.py
 * adjust requirement.txt files to conform to plugin format
   * remove pinning; works with python 3.11
  • Loading branch information
jr3cermak committed May 14, 2024
1 parent a4819db commit b49f60f
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 16 deletions.
2 changes: 1 addition & 1 deletion compliance_checker/cf/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ def __getitem__(self, key):

if len(entryids) != 1:
raise Exception(
f"Inconsistency in standard name table, could not lookup alias for {key}"
f"Inconsistency in standard name table, could not lookup alias for {key}",
)

key = entryids[0].text
Expand Down
11 changes: 11 additions & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
add-trailing-comma
black
flake8
flake8-builtins
flake8-comprehensions
flake8-mutable
flake8-print
httpretty
pytest
pytest-flake8
requests-mock
4 changes: 4 additions & 0 deletions requirements-docs.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
myst-parser
numpydoc
pydata-sphinx-theme
sphinx
File renamed without changes.
27 changes: 12 additions & 15 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
cf-units>=2
cftime>=1.1.0
cf-units
importlib-metadata # drop this when dropping Python 3.8
importlib-resources # drop this when dropping Python 3.8
isodate>=0.6.1
jinja2>=2.7.3
lxml>=3.2.1
netcdf4>=1.6.4
owsLib>=0.8.3
isodate
lxml
owslib
packaging
pendulum>=1.2.4
pygeoif>=0.6
pyproj>=2.2.1
regex>=2017.07.28
requests>=2.2.1
setuptools>=15.0
shapely>=1.7.1
validators>=0.14.2
pendulum
pygeoif
pyproj
netcdf4
regex
requests
shapely
validators

0 comments on commit b49f60f

Please sign in to comment.