Skip to content

Commit

Permalink
Merge pull request #306 from corenting/chore/update-ruff
Browse files Browse the repository at this point in the history
chore: update ruff
  • Loading branch information
corenting authored Mar 5, 2024
2 parents a1cb76c + 83ae5d8 commit c9e4c4f
Show file tree
Hide file tree
Showing 4 changed files with 136 additions and 153 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ PYTHON=poetry run
.PHONY: format
format:
$(PYTHON) ruff format immutabledict tests
$(PYTHON) ruff --fix immutabledict tests
$(PYTHON) ruff check --fix immutabledict tests

.PHONY: style
style:
$(PYTHON) ruff format --check immutabledict tests
$(PYTHON) ruff immutabledict tests
$(PYTHON) ruff check immutabledict tests
$(PYTHON) mypy -- immutabledict tests

.PHONY: test
Expand Down
1 change: 1 addition & 0 deletions immutabledict/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Implementation of the :class:`immutabledict` and :class:`ImmutableOrderedDict` classes."""

from __future__ import annotations

from collections import OrderedDict
Expand Down
Loading

0 comments on commit c9e4c4f

Please sign in to comment.