Skip to content

Commit 3f7546a

Browse files
committed
Move all setup.cfg configuration into pyproject.toml
1 parent 0d69b77 commit 3f7546a

2 files changed

Lines changed: 39 additions & 36 deletions

File tree

pyproject.toml

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
[build-system]
2+
requires = ["setuptools"]
3+
build-backend = "setuptools.build_meta"
4+
15
[project]
26
name = "python-osc"
37
version="1.9.0"
@@ -17,5 +21,39 @@ classifiers=[
1721
'Topic :: Multimedia :: Sound/Audio',
1822
'Topic :: System :: Networking',
1923
]
24+
2025
[project.urls]
21-
Repository = "https://github.com/attwad/python-osc"
26+
Repository = "https://github.com/attwad/python-osc"
27+
28+
[tool.mypy]
29+
# Would be great to turn this on, however there's too many cases it would break
30+
# right now.
31+
# disallow_any_generics = true
32+
33+
disallow_subclassing_any = true
34+
35+
# Allow functions _without_ type annotations, but require that annotations be
36+
# complete (possibly including the `Any` type) where they are present.
37+
disallow_incomplete_defs = true
38+
# check_untyped_defs = true
39+
disallow_untyped_decorators = true
40+
41+
42+
# # Would be great to turn these on eventually
43+
# no_implicit_optional = true
44+
# strict_optional = true
45+
46+
warn_redundant_casts = true
47+
warn_unused_ignores = true
48+
show_error_codes = true
49+
# # Would be great to turn this on eventually
50+
# # warn_return_any = true
51+
# warn_unreachable = true
52+
53+
# implicit_reexport = False
54+
# strict_equality = true
55+
56+
scripts_are_modules = true
57+
warn_unused_configs = true
58+
59+
enable_error_code = "ignore-without-code"

setup.cfg

Lines changed: 0 additions & 35 deletions
This file was deleted.

0 commit comments

Comments
 (0)