Skip to content

Commit ebf7f07

Browse files
Remove stale isort split directive guidance
Co-Authored-By: Aaron <AJ> Steers <aj@airbyte.io>
1 parent c6c49fc commit ebf7f07

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

.cursorrules

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,7 @@ For comprehensive development guidelines, please also refer to the [CONTRIBUTING
3939

4040
* Special handling for `__init__.py` files:
4141
- Do not auto-sort imports in `__init__.py` files with isort
42-
- When a module depends on classes defined within the same module, use the isort split directive:
43-
```python
44-
# Import the base class first
45-
from .transformation import RecordTransformation
46-
47-
# isort: split
48-
# Then import the implementations
49-
from .add_fields import AddFields
50-
from .remove_fields import RemoveFields
51-
```
42+
- Pay special attention to import order in `__init__.py` files to prevent circular dependencies
5243

5344
## Docstring Standards
5445

0 commit comments

Comments
 (0)