[hacking] N373 do not use eventlet primitives

Add a new hacking check to prevent adding Eventlet concurrency
primitives where the stdlib one is equivalent.

Right now only eventlet/greenthread.sleep is checked but as we progress
with the transformation we will add more primitives.

Change-Id: I1310bb7a8c8133364060eb8814226cab52219171
This commit is contained in:
Balazs Gibizer
2025-04-15 17:54:55 +02:00
parent 3946a94538
commit a0dc4e8516
4 changed files with 39 additions and 0 deletions
+1
View File
@@ -358,6 +358,7 @@ extension =
N370 = checks:check_six
N371 = checks:import_stock_mock
N372 = checks:check_set_daemon
N373 = checks:check_eventlet_primitives
paths =
./nova/hacking