Skip to content

Commit

Permalink
Sort imports with ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
JWCook committed Feb 7, 2025
1 parent a22de56 commit 79d9656
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
3 changes: 1 addition & 2 deletions pyinaturalist/docs/forge.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,13 @@
SOFTWARE.
"""

import asyncio
import builtins
import collections
import functools
import inspect
import types
import typing
import asyncio


# Convenience
_TYPE_FP_CTX_CALLABLE = typing.Callable[
Expand Down
8 changes: 1 addition & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -106,12 +106,6 @@ exclude_lines = [
'if TYPE_CHECKING:',
]

[tool.isort]
profile = 'black'
line_length = 100
skip_gitignore = true
known_first_party = ['test']

[tool.mypy]
ignore_missing_imports = true
pretty = true
Expand Down Expand Up @@ -139,7 +133,7 @@ exclude = ['examples/', 'test/sample_data/']
quote-style = 'single'

[tool.ruff.lint]
select = ['B', 'C4', 'C90', 'E', 'F']
select = ['B', 'C4', 'C90', 'E', 'F', 'I']

[tool.ruff.lint.isort]
known-first-party = ['test']
Expand Down
1 change: 0 additions & 1 deletion test/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
from test.conftest import sample_data_path
from test.sample_data import *


# Base
# --------------------

Expand Down

0 comments on commit 79d9656

Please sign in to comment.