Skip to content

Commit 7f13146

Browse files
committed
Bump version to 0.8.5 and add pytest-benchmark to development dependencies
1 parent 8ef0fbb commit 7f13146

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

setup.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,22 @@
55

66
setup(
77
name='regex_enumerator',
8-
version='0.8.4',
8+
version='0.8.5',
99
packages=find_packages(include=['regex_enumerator', 'regex_enumerator.*']),
1010
description='Enumerate all strings that match a given regex',
1111
author='Vincenzo Greco',
1212
author_email='[email protected]',
1313
extras_require={
14-
'dev': ['pytest', 'pytest-cov'],
14+
'dev': ['pytest', 'pytest-cov', 'pytest-benchmark'],
1515
},
1616
url='https://github.com/Buba98/regex_enumerator',
1717
keywords=['regex', 'regex enumerator', 'regular-expression', 'enumerator', 'string-generation',
1818
'exhaustive-matching', 'regex-testing', 'regex-tools', 'string-enumeration', 'data-generation'],
1919
long_description=long_description,
2020
long_description_content_type="text/markdown",
2121
python_requires='>=3.10',
22+
classifiers=[
23+
'Programming Language :: Python :: 3.10',
24+
'Operating System :: OS Independent',
25+
],
2226
)

tests/test_mixed.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def test_done():
2929
f_finite(regexEnumerator, possibilities)
3030

3131

32-
def test_weak_password():
32+
def test_weak_password(benchmark):
3333
regexEnumerator = RegexEnumerator(
3434
r'[Ll][Oo0][Vv][Ee3]([Yy][Oo0][Uu])?(2023|2024)[!1.]{1,2}')
3535
possibilities = []
@@ -52,4 +52,4 @@ def test_weak_password():
5252
possibilities.append(
5353
l_char + o + v + e + y + year + special_1 + special_2)
5454

55-
f_finite(regexEnumerator, possibilities)
55+
benchmark(f_finite, regexEnumerator, possibilities)

0 commit comments

Comments
 (0)