Skip to content

Commit

Permalink
Merge pull request #177 from akx/all-in-pyproject
Browse files Browse the repository at this point in the history
Move all setup.cfg configuration into pyproject.toml
  • Loading branch information
attwad authored Oct 15, 2024
2 parents 0d69b77 + 37a0007 commit a9c3c69
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 49 deletions.
65 changes: 51 additions & 14 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,21 +1,58 @@
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[project]
name = "python-osc"
version="1.9.0"
description="Open Sound Control server and client implementations in pure Python"
readme="README.rst"
requires-python=">=3.10"
license = {file = "LICENSE.txt"}
version = "1.9.0"
description = "Open Sound Control server and client implementations in pure Python"
readme = "README.rst"
requires-python = ">=3.10"
license = { file = "LICENSE.txt" }
authors = [
{name = "attwad", email = "[email protected]"},
{ name = "attwad", email = "[email protected]" },
]
keywords = ["osc", "sound", "midi", "music"]
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: Freely Distributable',
'Programming Language :: Python :: 3',
'Topic :: Multimedia :: Sound/Audio',
'Topic :: System :: Networking',
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: Freely Distributable",
"Programming Language :: Python :: 3",
"Topic :: Multimedia :: Sound/Audio",
"Topic :: System :: Networking",
]

[project.urls]
Repository = "https://github.com/attwad/python-osc"
Repository = "https://github.com/attwad/python-osc"

[tool.mypy]
# Would be great to turn this on, however there's too many cases it would break
# right now.
# disallow_any_generics = true

disallow_subclassing_any = true

# Allow functions _without_ type annotations, but require that annotations be
# complete (possibly including the `Any` type) where they are present.
disallow_incomplete_defs = true
# check_untyped_defs = true
disallow_untyped_decorators = true

# # Would be great to turn these on eventually
# no_implicit_optional = true
# strict_optional = true

warn_redundant_casts = true
warn_unused_ignores = true
show_error_codes = true
# # Would be great to turn this on eventually
# # warn_return_any = true
# warn_unreachable = true

# implicit_reexport = False
# strict_equality = true

scripts_are_modules = true
warn_unused_configs = true

enable_error_code = "ignore-without-code"
35 changes: 0 additions & 35 deletions setup.cfg

This file was deleted.

0 comments on commit a9c3c69

Please sign in to comment.