Skip to content

Commit

Permalink
fix imports, group typing_extesions with typing
Browse files Browse the repository at this point in the history
  • Loading branch information
fmigneault committed May 2, 2024
1 parent d6086fc commit 2eb6392
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ lint:
.PHONY: check-lint
check-lint: lint

.PHONY: format-lint
format-lint:
poetry run ruff --config=pyproject.toml --fix ./

.PHONY: install-npm
install-npm:
npm install
Expand All @@ -97,7 +101,8 @@ check-examples: install-npm
format-examples: install-npm
npm run format-examples

fix-%: format-%s
FORMATTERS := lint markdown examples
$(addprefix fix-, $(FORMATTERS)): fix-%: format-%

.PHONY: lint-all
lint-all: lint mypy check-safety check-markdown
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ select = [
[tool.ruff.lint.isort]
known-local-folder = ["tests", "conftest"]
known-first-party = ["stac_model"]
extra-standard-library = ["typing_extensions"]

[tool.mypy]
# https://github.com/python/mypy
Expand Down

0 comments on commit 2eb6392

Please sign in to comment.