Browse Source

delete python bytecode including pyo before every test run

Change-Id: Ib1cee0ee3d482b23bbaa19956a10bb2e8fc7d559
Lucky samadhiya 2 years ago
parent
commit
d82ac34d0a
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      tox.ini

+ 1
- 1
tox.ini View File

@@ -11,7 +11,7 @@ whitelist_externals = find
11 11
 deps = -r{toxinidir}/requirements.txt
12 12
        -r{toxinidir}/test-requirements.txt
13 13
 commands =
14
-  find . -type f -name "*.pyc" -delete
14
+  find . -type f -name "*.py[c|o]" -delete
15 15
   ostestr {posargs}
16 16
 
17 17
 [testenv:releasenotes]

Loading…
Cancel
Save