Skip to content

Commit

Permalink
added progress bar
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitaly-Protasov committed Jul 16, 2020
1 parent 02b80bf commit 3dfc51c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/integration/all.py
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
import os
import sys
from aibolit.config import Config
import time
import tqdm

# TODO: fix all errors in the patterns/metrics and make these lists empty
EXCLUDE_PATTERNS = ['P31', 'P32']
EXCLUDE_METRICS = []

current_path: str = os.path.dirname(os.path.realpath(__file__))
print('Progress of samples: ')
print('Progress of testing: ')

for filename in tqdm.tqdm(os.listdir(current_path + '/samples')):

for pattern in Config.get_patterns_config()['patterns']:
if pattern['code'] in EXCLUDE_PATTERNS:
continue
Expand Down

0 comments on commit 3dfc51c

Please sign in to comment.