Skip to content

Commit a9c3c69

Browse files
authored
Merge pull request #177 from akx/all-in-pyproject
Move all setup.cfg configuration into pyproject.toml
2 parents 0d69b77 + 37a0007 commit a9c3c69

File tree

2 files changed

+51
-49
lines changed

2 files changed

+51
-49
lines changed

pyproject.toml

Lines changed: 51 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,58 @@
1+
[build-system]
2+
requires = ["setuptools"]
3+
build-backend = "setuptools.build_meta"
4+
15
[project]
26
name = "python-osc"
3-
version="1.9.0"
4-
description="Open Sound Control server and client implementations in pure Python"
5-
readme="README.rst"
6-
requires-python=">=3.10"
7-
license = {file = "LICENSE.txt"}
7+
version = "1.9.0"
8+
description = "Open Sound Control server and client implementations in pure Python"
9+
readme = "README.rst"
10+
requires-python = ">=3.10"
11+
license = { file = "LICENSE.txt" }
812
authors = [
9-
{name = "attwad", email = "tmusoft@gmail.com"},
13+
{ name = "attwad", email = "tmusoft@gmail.com" },
1014
]
1115
keywords = ["osc", "sound", "midi", "music"]
12-
classifiers=[
13-
'Development Status :: 5 - Production/Stable',
14-
'Intended Audience :: Developers',
15-
'License :: Freely Distributable',
16-
'Programming Language :: Python :: 3',
17-
'Topic :: Multimedia :: Sound/Audio',
18-
'Topic :: System :: Networking',
16+
classifiers = [
17+
"Development Status :: 5 - Production/Stable",
18+
"Intended Audience :: Developers",
19+
"License :: Freely Distributable",
20+
"Programming Language :: Python :: 3",
21+
"Topic :: Multimedia :: Sound/Audio",
22+
"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+
# # Would be great to turn these on eventually
42+
# no_implicit_optional = true
43+
# strict_optional = true
44+
45+
warn_redundant_casts = true
46+
warn_unused_ignores = true
47+
show_error_codes = true
48+
# # Would be great to turn this on eventually
49+
# # warn_return_any = true
50+
# warn_unreachable = true
51+
52+
# implicit_reexport = False
53+
# strict_equality = true
54+
55+
scripts_are_modules = true
56+
warn_unused_configs = true
57+
58+
enable_error_code = "ignore-without-code"

setup.cfg

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

0 commit comments

Comments
 (0)