Skip to content

Commit

Permalink
apply fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ocefpaf committed Jun 17, 2020
1 parent 82cd9de commit 29138d7
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -102,4 +102,4 @@ ENV/
*.nc
conda-requirements.txt

compliance_checker/_version.py
compliance_checker/_version.py
1 change: 0 additions & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -199,4 +199,3 @@
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

5 changes: 3 additions & 2 deletions compliance_checker/suite.py
Original file line number Diff line number Diff line change
Expand Up @@ -763,8 +763,9 @@ def check_remote_netcdf(self, ds_str):
if netcdf.is_remote_netcdf(ds_str):
response = requests.get(ds_str, allow_redirects=True, timeout=60)
try:
return MemoizedDataset(urlparse(response.url).path,
memory=response.content)
return MemoizedDataset(
urlparse(response.url).path, memory=response.content
)
except OSError as e:
# handle case when netCDF C libs weren't compiled with
# in-memory support by using tempfile
Expand Down
2 changes: 0 additions & 2 deletions doc/ubuntu-install-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,3 @@ from compliance_checker.runner import ComplianceCheckerCheckSuite
```

If it succeeds, then the Compliance Checker should be working correctly.


14 changes: 7 additions & 7 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
cftime>=1.1.0
OWSLib>=0.8.3
lxml>=3.2.1
cf-units>=2
requests>=2.2.1
cftime>=1.1.0
isodate>=0.5.4
Jinja2>=2.7.3
setuptools>=15.0
pygeoif>=0.6
lxml>=3.2.1
netCDF4>=1.4.0
regex>=2017.07.28
OWSLib>=0.8.3
pendulum>=1.2.4
pygeoif>=0.6
pyproj>=2.2.1
regex>=2017.07.28
requests>=2.2.1
setuptools>=15.0
validators>=0.14.2
1 change: 1 addition & 0 deletions test_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
codespell
flake8
httpretty
mypy
Expand Down
1 change: 0 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,3 @@ deps =
sh
-e.
httpretty

0 comments on commit 29138d7

Please sign in to comment.