-
Notifications
You must be signed in to change notification settings - Fork 64
/
pyproject.toml
97 lines (82 loc) · 2.57 KB
/
pyproject.toml
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
[project]
name = "automata-lib"
version = "8.4.0"
description = "A Python library for simulating finite automata, pushdown automata, and Turing machines"
readme = "README.md"
requires-python = ">=3.8"
keywords = ["automata", "finite", "non-deterministic", "pushdown", "turing", "machine", "state"]
license = {file = 'LICENSE.txt'}
authors = [
{name = 'Caleb Evans', email = 'caleb@calebevans.me'}
]
maintainers = [
{name = 'Caleb Evans', email = 'caleb@calebevans.me'},
{name = 'Eliot W. Robson', email = 'eliot.robson24@gmail.com'},
]
dependencies = [
"networkx>=2.6.2",
"frozendict>=2.3.4",
"typing-extensions>=4.5.0",
"cached_method>=0.1.0"
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Mathematics",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
]
# Per https://setuptools.pypa.io/en/latest/userguide/dependency_management.html#optional-dependencies
[project.optional-dependencies]
visual = ["coloraide>=1.8.2", "pygraphviz>=1.10"]
[tool.setuptools.package-data]
"automata" = ["py.typed"]
[project.urls]
homepage = "https://github.com/caleb531/automata"
documentation = "https://caleb531.github.io/automata/"
repository = "https://github.com/caleb531/automata"
changelog = "https://github.com/caleb531/automata/releases"
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[tool.mypy]
exclude = ["build"]
disallow_untyped_defs = true
[[tool.mypy.overrides]]
module = [
"setuptools.*",
"networkx.*",
"pygraphviz.*",
"cached_method.*",
"nose2.tools.*"
]
ignore_missing_imports = true
[tool.flake8]
# Black compatibility
max-line-length = 88
extend-ignore = ["E203", "W503"]
# Per <https://black.readthedocs.io/en/stable/guides/using_black_with_other_tools.html#profile>
[tool.isort]
profile = "black"
# Configuration for coverage.py (https://pypi.python.org/pypi/coverage)
[tool.coverage.run]
# Enable branch coverage
branch = true
[tool.coverage.report]
# Regexes for lines to exclude from consideration
exclude_lines = [
"pragma: no cover",
# Ignore non-runnable code
"if __name__ == .__main__.:",
"pass",
]
# Only check coverage for source files
include = ["automata/*/*.py"]
# Only one module in this repo
[tool.setuptools.packages.find]
exclude = ["joss"]