@@ -9,10 +9,10 @@ author = "Gram"
99author-email = " gram@orsinium.dev"
1010home-page = " https://github.com/life4/deal"
1111description-file = " README.md"
12- requires-python = " >=3.7 "
12+ requires-python = " >=3.8 "
1313keywords = " deal,contracts,pre,post,invariant,decorators,validation,pythonic,functional"
1414requires = []
15- classifiers = [
15+ classifiers = [
1616 " Development Status :: 5 - Production/Stable" ,
1717 " Environment :: Plugins" ,
1818 " Intended Audience :: Developers" ,
@@ -25,19 +25,19 @@ classifiers=[
2525
2626[tool .flit .metadata .requires-extra ]
2727all = [
28- " astroid>=2.11.0" ,
29- " deal-solver" ,
30- " hypothesis" ,
31- " pygments" ,
32- " typeguard>=3.0.0" ,
33- " vaa>=0.2.1" ,
28+ " astroid>=2.11.0" , # for tyupe inference in linter
29+ " deal-solver" , # for formal verification
30+ " hypothesis" , # for test generation
31+ " pygments" , # for syntax highlighting in exceptions
32+ " typeguard>=3.0.0" , # for runtime type checking in tests
33+ " vaa>=0.2.1" , # for supporting schemes (like marshmallow) as validators
3434]
35- integration = [ # integration tests
35+ integration = [ # integration tests
3636 " astroid>=2.11.0" ,
3737 " deal-solver" ,
3838 " hypothesis" ,
3939 " pygments" ,
40- " typeguard" ,
40+ " typeguard<4.0.0 " ,
4141 " vaa>=0.2.1" ,
4242 " sphinx>=4.5.0" ,
4343 " flake8" ,
@@ -64,12 +64,12 @@ lint = [
6464 " deal-solver" ,
6565 " hypothesis" ,
6666 " pygments" ,
67- " typeguard" ,
67+ " typeguard<4.0.0 " ,
6868]
6969docs = [
70- " m2r2" ,
71- " myst-parser" ,
72- " sphinx==3.5.*" ,
70+ " m2r2" , # markdown support in docstrings for sphinx
71+ " myst-parser" , # markdown support for dcs in sphinx
72+ " sphinx==3.5.*" , # documentation
7373 " sphinx-rtd-theme==0.5.*" ,
7474]
7575
@@ -87,13 +87,8 @@ addopts = [
8787
8888[tool .coverage .run ]
8989branch = true
90- omit = [
91- " deal/linter/_template.py" ,
92- " deal/mypy.py" ,
93- ]
94- plugins = [
95- " coverage_conditional_plugin" ,
96- ]
90+ omit = [" deal/linter/_template.py" , " deal/mypy.py" ]
91+ plugins = [" coverage_conditional_plugin" ]
9792
9893[tool .coverage .report ]
9994exclude_lines = [
@@ -111,7 +106,7 @@ has-astroid = "not is_installed('astroid')"
111106
112107[tool .mypy ]
113108files = [" deal" ]
114- python_version = 3.7
109+ python_version = 3.8
115110plugins = [" deal.mypy" ]
116111ignore_missing_imports = true
117112show_error_codes = true
@@ -136,4 +131,3 @@ lines_after_imports = 2
136131skip = " .venvs/"
137132multi_line_output = 5
138133include_trailing_comma = true
139-
0 commit comments