seddonym/import-linter
Import Linter allows you to define and enforce rules for the internal and external imports within your Python project.
PythonBSD-2-Clause
Issues
- 1
Closed layers
#245 opened by OliverLSanz - 5
- 6
Exclude specific modules from a contract?
#244 opened by apmorton - 3
- 3
Disallow imports not specified through __all__
#240 opened by charettes - 7
- 2
PanicError when duplicate layers are passed
#241 opened by fraser-langton - 2
Add ability to define dependency groups
#231 opened by valentincalomme - 3
Support wildcards for modules in forbidden contracts
#232 opened by GitRon - 8
- 3
Issue with pre-commit hooks and src structure
#214 opened by valentincalomme - 6
Pass contract key to contract on instantiation
#228 opened by exterm - 1
Symlinks are not followed
#227 opened by sshane - 5
Excluding tests directory from check
#225 opened by ashrub-holvi - 1
- 3
Forbidden Contract Error With Namespace Package
#224 opened by bwildenborg - 1
Question: Do not allow any imports
#223 opened by kkirsche - 1
Feature request: minimum imports
#218 opened by sbrugman - 2
Add pre-commit documentation to docs
#213 opened by valentincalomme - 0
- 6
Proposal: Allow configuring sibling independence
#208 opened by Peter554 - 3
- 1
Hyphen & underscore insensitive package resolution
#210 opened by dlqqq - 3
Rust panic when using root package as a layer
#206 opened by LewisGaul - 2
independence between children of a package
#207 opened by florianabel - 5
Less verbose output
#204 opened by tuukkamustonen - 2
Add implicit import of a module's parent
#203 opened by neilmacintyre - 2
- 0
Automatic of ignoring type checking imports
#198 opened by seddonym - 1
Standalone contract
#181 opened by seddonym - 2
Forbidden import checking doesn't work correctly for descendants, when allow_indirect_imports=true
#196 opened by seddonym - 0
Make it possible to run using python -m
#195 opened by seddonym - 1
Query about forbidden contracts and direct imports
#193 opened by seddonym - 3
why can't you forbid subpackages of external modules?
#182 opened by dpinol - 4
- 2
New contract type: private_modules
#159 opened by seddonym - 2
Remove ImportGraph protocol
#148 opened by mwgamble - 2
requesting design feedback
#168 opened by sydneypemberton1986 - 1
Add recursive wildcard for `ignore_imports`
#160 opened by ngnpope - 0
Document debug mode
#173 opened by seddonym - 9
Publish whl package
#166 opened by POD666 - 1
Allow setting `cache_dir` in in configuration file
#170 opened by ngnpope - 2
Consider dropping Click as a dependency
#149 opened by mwgamble - 3
Docs request: a richer custom contract example
#143 opened by gwerbin - 0
New contract types: 'allow_graph' and 'forbid_graph'
#158 opened by seddonym - 7
Use stdlib tomllib package on Python 3.11
#146 opened by djmattyg007 - 3
Normalise booleans to booleans, not strings
#150 opened by mwgamble - 3
The Settings class isn't friendly to IDE navigation
#151 opened by mwgamble - 2
Consider ignoring imports under TYPE_CHECKING
#145 opened by yakMM - 1
Errors logged to stdout instead of stderr
#141 opened by YehudaCorsia