Skip to content

Commit

Permalink
precommit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nabobalis committed Oct 9, 2023
1 parent 0298373 commit f883a0d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ repos:
args: ["--sp", "setup.cfg"]
exclude: ".*(.fits|.fts|.fit|.header|.txt|tca.*|extern.*|.rst|.md|cm/__init__.py|sunpy/extern|docs/conf.py)$"
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
- id: check-ast
- id: check-case-conflict
Expand Down
2 changes: 1 addition & 1 deletion sunpy/net/dataretriever/sources/fermi_gbm.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class GBMClient(GenericClient):
<BLANKLINE>
"""

pattern = ('https://heasarc.gsfc.nasa.gov/FTP/fermi/data/gbm/daily/{{year:4d}}/{{month:2d}}/{{day:2d}}/current/'
'glg_{{Resolution:5}}_{{Detector:2}}_{{year:2d}}{{month:2d}}{{day:2d}}_v00.pha')

Expand Down
2 changes: 0 additions & 2 deletions sunpy/net/tests/test_scraper_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ def test_check_timerange():
'2019-02-28 23:59:00', '2019-02-28 23:59:59.999000'),
({'year': 2020, 'month': 7, 'day': 31, 'hour': 23, 'minute': 59, 'second': 59},
'2020-07-31 23:59:59', '2020-07-31 23:59:59.999000'),
({'year': 2020, 'month': 7, 'day': 31, 'hour': 23, 'minute': 59, 'second': 59},
'2020-07-31 23:59:59', '2020-07-31 23:59:59.999000'),
])
def test_get_timerange_from_exdict(exdict, start, end):
tr = TimeRange(start, end)
Expand Down

0 comments on commit f883a0d

Please sign in to comment.