-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
80 lines (67 loc) · 1.88 KB
/
setup.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
[metadata]
name = gramma
version = 1.0
description = Generate samples from a BNF-like probabilistic program.
url = https://github.com/jpleasu/gramma
author = Jason P. Leasure
author_email = [email protected]
long_description = file: README.md
keywords = fuzzing
license = BSD 3-Clause License
classifiers =
Development Status :: 3 - Alpha
License :: OSI Approved :: BSD License
Programming Language :: Python :: 3
Programming Language :: Python :: 3.8
Programming Language :: Python :: Implementation :: CPython
[options]
python_requires = >=3.8.0
install_requires =
lark-parser
numpy
antlr4-python3-runtime
networkx
colorama
termcolor
## test with tox
#tests_require = ...
zip_safe = False
packages = find:
[options.extras_require]
tests = mypy; pytest; pytest-cov; pytest-xdist[psutil]; tox; filelock
[options.packages.find]
exclude = tests
[options.entry_points]
console_scripts =
glf2cpp = gramma.samplers.cpp.glf2cpp:main
glf2cpp-config = gramma.samplers.cpp.glf2cpp:config
g4toglf = gramma.converters.antlr4.g4toglf:main
glfrewriter = gramma.analysis:glfrewriter
glfanalyzer = gramma.analysis:glfanalyzer
[options.package_data]
gramma.converters.antlr4 =
antlr4parser/*.tokens
antlr4parser/*.interp
gramma.samplers.cpp =
include/gramma/*.hpp
[tool:pytest]
testpaths = tests
addopts = --cov-report html --cov=gramma tests/
[mypy]
files = gramma,tests,examples/*/*.py
check_untyped_defs = true
disallow_any_generics = true
disallow_any_unimported = false
disallow_incomplete_defs = true
disallow_subclassing_any = false
ignore_missing_imports = true
no_implicit_optional = true
warn_return_any = true
warn_unused_ignores = true
#disallow_any_decorated = true
#disallow_untyped_calls = true
#disallow_untyped_defs = true
[mypy-tests.*]
check_untyped_defs = false
[mypy-gramma.converters.antlr4.antlr4parser.*]
ignore_errors = True