Skip to content

Commit

Permalink
chore: pre-commit autoupdate
Browse files Browse the repository at this point in the history
  • Loading branch information
XuehaiPan committed Apr 20, 2023
1 parent 47ab043 commit c1c598e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ repos:
- id: debug-statements
- id: double-quote-string-fixer
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.261
rev: v0.0.262
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand Down
1 change: 1 addition & 0 deletions docs/spelling_wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -393,3 +393,4 @@ binom
mjData
mjModel
SomeWrapperN
fixme
3 changes: 2 additions & 1 deletion safety_gymnasium/bases/underlying.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ class PlacementsConf:
"""

placements = None
extents = [-2, -2, 2, 2]
# FIXME: fix mutable default arguments # pylint: disable=fixme
extents = [-2, -2, 2, 2] # noqa: RUF008
margin = 0.0


Expand Down
2 changes: 1 addition & 1 deletion safety_gymnasium/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
try:
prefix, sep, suffix = (
subprocess.check_output(
['git', 'describe', '--abbrev=7'],
['git', 'describe', '--abbrev=7'], # noqa: S603,S607
cwd=os.path.dirname(os.path.abspath(__file__)),
stderr=subprocess.DEVNULL,
text=True,
Expand Down

0 comments on commit c1c598e

Please sign in to comment.