seddonym / import-linter

Import Linter allows you to define and enforce rules for the internal and external imports within your Python project.
https://import-linter.readthedocs.io/
BSD 2-Clause "Simplified" License
679 stars 49 forks source link

Add pyproject.toml support (#99) #100

Closed seddonym closed 3 years ago

seddonym commented 3 years ago

Builds on the work of this PR to make sure we run the tests on each Python version, with or without TOML installed (as it's an optional dependency).

This introduces two Pytest marks to allow us to select certain tests that will only be run if TOML is/is not installed.