Comments (3)
Actually, it appears to be related to include_external_packages = True with the namespace package.
Once turned on, I get the error even if there are no external packages in the contracts.
from import-linter.
Thanks for your bug report!
I'm unable to reproduce the problem though. What directory are you running lint imports from?
from import-linter.
Looks like this was an issue with some otherwise benign import cycles. Poor way to surface the error, but it looks like more of an issue with how grimp surfaces the error rather than import-linter.
from import-linter.
Related Issues (20)
- Forbidden import checking doesn't work correctly for descendants, when allow_indirect_imports=true HOT 2
- Automatic of ignoring type checking imports
- Support "forbidden" contracts within packages (again) HOT 2
- Modules in packages without an `__init__.py` file are ignored HOT 2
- Add implicit import of a module's parent HOT 2
- Less verbose output HOT 5
- Rust panic when using root package as a layer HOT 3
- independence between children of a package HOT 2
- Proposal: Allow configuring sibling independence HOT 6
- Hyphen & underscore insensitive package resolution HOT 1
- Noisy logging warnings about 'skipping module with too many dots in the name' HOT 3
- Add exhaustiveness checking for independence contracts
- Add pre-commit documentation to docs HOT 2
- Issue with pre-commit hooks and src structure HOT 3
- Feature request: minimum imports HOT 1
- Question: Do not allow any imports HOT 1
- Excluding tests directory from check HOT 5
- Proposal: introduce Ruff and make mypy more strict HOT 1
- Symlinks are not followed HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from import-linter.