Skip to content

Commit 658f25b

Browse files
authored
Relative imports were replaced for absolute imports (#19)
1 parent 6ce4e7d commit 658f25b

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
## [1.1.1](../../releases/tag/v1.1.1) - Unreleased
44

5-
...
5+
### Internal changes
6+
7+
- Relative imports were replaced for absolute imports
68

79
## [1.1.0](../../releases/tag/v1.1.0) - 2023-11-16
810

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ ignore = [
9090
"S303", # Use of insecure MD2, MD4, MD5, or SHA1 hash function
9191
"S311", # Standard pseudo-random generators are not suitable for cryptographic purposes
9292
"TD002", # Missing author in TODO; try: `# TODO(<author_name>): ...` or `# TODO @<author_name>: ...
93-
"TID252", # Relative imports from parent modules are bannedRuff
9493
"TRY003", # Avoid specifying long messages outside the exception class
9594
]
9695

@@ -122,7 +121,7 @@ docstring-quotes = "double"
122121
inline-quotes = "single"
123122

124123
[tool.ruff.lint.isort]
125-
known-first-party = ["apify", "apify_client", "apify_shared"]
124+
known-local-folder = ["apify_shared"]
126125

127126
[tool.ruff.lint.pydocstyle]
128127
convention = "google"

src/apify_shared/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
from typing import Generic, TypeVar
44

5-
from .utils import ignore_docs
5+
from apify_shared.utils import ignore_docs
66

77
T = TypeVar('T')
88

0 commit comments

Comments
 (0)