Open adamchainz opened 7 years ago
We are migrating some projects to UUIDv7, and found this same limitation when trying to avoid using uuid.uuid4()
. With the following configuration, the error isn't triggered:
[flake8]
banned-modules =
uuid.uuid4 = Use UUIDv7 instead, with uuid6.uuid7().
If you have
banned-modules
set tofoo.bar = baz
, this code doesn't trigger an error:...when really it should.