Skip to content

Commit 2e9bc85

Browse files
[pre-commit.ci] pre-commit autoupdate (#135)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.3.5 → v0.5.0](astral-sh/ruff-pre-commit@v0.3.5...v0.5.0) - [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v4.6.0](pre-commit/pre-commit-hooks@v4.5.0...v4.6.0) - [github.com/codespell-project/codespell: v2.2.6 → v2.3.0](codespell-project/codespell@v2.2.6...v2.3.0) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent a6343bc commit 2e9bc85

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
repos:
22
# This should be before any formatting hooks like isort
33
- repo: https://github.com/astral-sh/ruff-pre-commit
4-
rev: "v0.3.5"
4+
rev: "v0.5.0"
55
hooks:
66
- id: ruff
77
args: ["--fix"]
@@ -13,7 +13,7 @@ repos:
1313
- id: isort
1414
exclude: ".*(.fits|.fts|.fit|.header|.txt|tca.*|extern.*)$"
1515
- repo: https://github.com/pre-commit/pre-commit-hooks
16-
rev: v4.5.0
16+
rev: v4.6.0
1717
hooks:
1818
- id: check-ast
1919
- id: check-case-conflict
@@ -28,7 +28,7 @@ repos:
2828
- id: mixed-line-ending
2929
exclude: ".*(.fits|.fts|.fit|.header|.txt|tca.*)$"
3030
- repo: https://github.com/codespell-project/codespell
31-
rev: v2.2.6
31+
rev: v2.3.0
3232
hooks:
3333
- id: codespell
3434
additional_dependencies:

stixpy/product/product_factory.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,10 +164,10 @@ def _parse_args(self, *args, silence_errors=False, **kwargs):
164164
while i < nargs:
165165
arg = args[i]
166166
if isinstance(arg, str) and is_url(arg):
167-
# Repalce URL string with a Request object to dispatch on later
167+
# Replace URL string with a Request object to dispatch on later
168168
args[i] = Request(arg)
169169
elif possibly_a_path(arg):
170-
# Repalce path strings with Path objects
170+
# Replace path strings with Path objects
171171
args[i] = pathlib.Path(arg)
172172
i += 1
173173

0 commit comments

Comments
 (0)