Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#135)
Browse files Browse the repository at this point in the history
* [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>
  • Loading branch information
pre-commit-ci[bot] authored Jul 16, 2024
1 parent a6343bc commit 2e9bc85
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
repos:
# This should be before any formatting hooks like isort
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.3.5"
rev: "v0.5.0"
hooks:
- id: ruff
args: ["--fix"]
Expand All @@ -13,7 +13,7 @@ repos:
- id: isort
exclude: ".*(.fits|.fts|.fit|.header|.txt|tca.*|extern.*)$"
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v4.6.0
hooks:
- id: check-ast
- id: check-case-conflict
Expand All @@ -28,7 +28,7 @@ repos:
- id: mixed-line-ending
exclude: ".*(.fits|.fts|.fit|.header|.txt|tca.*)$"
- repo: https://github.com/codespell-project/codespell
rev: v2.2.6
rev: v2.3.0
hooks:
- id: codespell
additional_dependencies:
Expand Down
4 changes: 2 additions & 2 deletions stixpy/product/product_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,10 @@ def _parse_args(self, *args, silence_errors=False, **kwargs):
while i < nargs:
arg = args[i]
if isinstance(arg, str) and is_url(arg):
# Repalce URL string with a Request object to dispatch on later
# Replace URL string with a Request object to dispatch on later
args[i] = Request(arg)
elif possibly_a_path(arg):
# Repalce path strings with Path objects
# Replace path strings with Path objects
args[i] = pathlib.Path(arg)
i += 1

Expand Down

0 comments on commit 2e9bc85

Please sign in to comment.