Flake8-custom-import-rules

Latest version: v1.1.4

Safety actively analyzes 682404 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 7

0.11.0

Feat

- **flake8-plugin**: add check for rule conflicts (160)

0.10.1

Fix

- **import-rules**: update restricted packages to correctly identify the packages and modules and subpackages that need to be restricted (137)
- **import-rules**: update checks for import restrictions to correctly identify restricted imports (136)
- **import-rules**: corrected finding packages that match import restrictions (135)
- **checker**: use import restrictions from plugin and update test files (134)
- **import-rules**: update functions (128)
- **import-rules**: update isolated modules to account for imports from package itself (126)

Refactor

- **readme-and-import-rules**: update flag descriptions, add documentation, and refactor code to be more pythonic and efficient (152)
- **custom-restrictions**: renamed import restrictions, custom re… (151)
- **dynamic-imports**: added additional dynamic import checks, updated documentation to be more thorough, and added test cases to a function that did not have any (150)
- **local-imports**: Use local scope imports for clarity instead (148)
- **isolated-packages-flag**: renamed isolated modules flag to standalone modules to better reflect and describe what the flag does (146)
- **restricted-import-visitor**: remove check module exists option from the restricted import visitor class, not used and unnecessary (139)
- **restricted-import-visitor**: remove package imports in this class, calculated elsewhere (138)
- **plugin**: update plugin to use preprocessed checker settings for restricted packages and import restrictions (133)
- **restricted-import-visitor**: update restricted import visitor class to include whether restriction is from a restricted package or restricted import (132)
- **error-codes**: update import restriction error codes (131)
- **restricted-import-visitor**: move utility functions to restricted import utils module (130)

0.10.0

Feat

- **option-utils**: add check conflict function and add tests (124)

Fix

- **file-utils**: add try except section to find prefix function (123)

Refactor

- **import-rules**: update typing to use specific parsed node classes (120)
- **checker**: remove unused functions (116)
- **docs**: update documentation directory (114)

0.9.2

Refactor

- **docs**: update documentation directory
- **readme**: update readme section titles (113)

0.9.1

Refactor

- **file-utils**: remove unused functions (112)

0.9.0

Fix

- **pyproject**: fix flake8 extension (108)
- **node-visitor**: stdlib_list should be imported locally where it is used (106)
- **restricted-visitor**: refactor get strings functions (84)
- **visitor**: get_module_name_from_filename uses filename not file_path (83)
- **default**: fix default settings (77)

Refactor

- **node-utils**: remove unused function (111)
- **pyproject**: add project info (109)
- **dependencies**: remove pandas and numpy dependencies (96)
- **example_repos**: remove pendulum dependency (95)
- **readme**: update intro paragraph, remove unnecessary comments (88)
- **error-codes**: make error code checks using set instead of list (86)
- **core**: refactor to make code easier to follow (85)
- **help-strings**: add error codes to flake8 help strings (82)
- **defaults**: update help strings (81)
- **main**: update readme, change log to debug (80)
- **restricted-imports**: add support for import restrictions (79)
- **defaults**: update converters and add test cases (78)
- **import-rules**: update import rules to implement restricted i… (76)

Page 2 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.