-
Notifications
You must be signed in to change notification settings - Fork 29
Set default python version 3.9 and fix strenum problem #135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
e1d9a05
a72b206
7d97c75
b8d9cb7
8722830
b9bdcaa
eba329c
1576475
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,45 +1,54 @@ | ||
| [build-system] | ||
| requires = ["setuptools"] | ||
| build-backend = "setuptools.build_meta" | ||
| requires = [ "setuptools" ] | ||
|
|
||
| [project] | ||
| name="recceiver" | ||
| name = "recceiver" | ||
| version = "1.5" | ||
| description = "resync server" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Typo |
||
| readme = "README.md" | ||
| authors = [ | ||
| {name = "Michael Davidsaver", email = "mdavidsaver@gmail.com"}, | ||
| { name = "Michael Davidsaver", email = "mdavidsaver@gmail.com" }, | ||
| ] | ||
| description="resync server" | ||
| version="1.5" | ||
| readme = "README.md" | ||
| requires-python = ">=3.6" | ||
| classifiers = [ | ||
| "Programming Language :: Python :: 3 :: Only", | ||
| "Programming Language :: Python :: 3.6", | ||
| "Programming Language :: Python :: 3.7", | ||
| "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", | ||
| "Programming Language :: Python :: 3.13", | ||
| "Programming Language :: Python :: 3.14", | ||
| ] | ||
| dependencies = [ | ||
| "dataclasses; python_version < '3.7'", | ||
| "requests", | ||
| "twisted", | ||
| "channelfinder @ https://github.com/ChannelFinder/pyCFClient/archive/refs/tags/v3.0.0.zip" | ||
| "channelfinder @ https://github.com/ChannelFinder/pyCFClient/archive/refs/tags/v3.0.0.zip", | ||
| "dataclasses; python_version<'3.7'", | ||
| "requests", | ||
| "twisted", | ||
| ] | ||
|
|
||
| [project.optional-dependencies] | ||
| test = ["pytest", "testcontainers>=4"] | ||
|
|
||
| [project.urls] | ||
| Repository="https://github.com/mdavidsaver/recsync" | ||
| optional-dependencies.test = [ "pytest", "testcontainers>=4" ] | ||
| urls.Repository = "https://github.com/mdavidsaver/recsync" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think this is wrong? |
||
|
|
||
| [tool.setuptools] | ||
| packages = ["recceiver", "twisted.plugins"] | ||
| packages = [ "recceiver", "twisted.plugins" ] | ||
| include-package-data = true | ||
|
|
||
| [tool.setuptools.package-data] | ||
| twisted = ["plugins/recceiver_plugin.py"] | ||
|
|
||
| [tool.pytest.ini_options] | ||
| log_cli = true | ||
| log_cli_level = "DEBUG" | ||
| twisted = [ "plugins/recceiver_plugin.py" ] | ||
|
|
||
| [tool.ruff] | ||
| line-length = 120 | ||
| target-version = "py39" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This doesn't mesh well with your attempt to externalise python version into a variable |
||
|
|
||
| [tool.ruff.lint] | ||
| line-length = 120 | ||
| # Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default. | ||
| # Unlike Flake8, Ruff doesn't enable pycodestyle warnings (`W`) or | ||
| # McCabe complexity (`C901`) by default. | ||
| select = ["E", "F", "I"] | ||
| lint.select = [ "E", "F", "I" ] | ||
|
|
||
| [tool.pytest.ini_options] | ||
| log_cli = true | ||
| log_cli_level = "DEBUG" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we really need this as default? |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| from requests import HTTPError | ||
|
|
||
| from twisted.internet.address import IPv4Address | ||
|
|
||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't think this is needed anymore, and the hook has been renamed (ruff-check IIRC)