Skip to content

Set default python version 3.9 and fix strenum problem#135

Open
jacomago wants to merge 8 commits intomasterfrom
set-default-python-version-lower
Open

Set default python version 3.9 and fix strenum problem#135
jacomago wants to merge 8 commits intomasterfrom
set-default-python-version-lower

Conversation

@jacomago
Copy link
Contributor

@jacomago jacomago commented Feb 6, 2026

No description provided.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 6, 2026

Quality Gate Failed Quality Gate failed

Failed conditions
1 Security Hotspot

See analysis details on SonarQube Cloud

@jacomago jacomago self-assigned this Feb 6, 2026
@jacomago jacomago marked this pull request as ready for review February 6, 2026 14:20
@jacomago
Copy link
Contributor Author

jacomago commented Feb 6, 2026

I tried to get this check in the pre-commit, but adding all ruff lints wasn't enough, I had to add type checking... Which made the PR huge. So I'll stick with just this change for now.

hooks:
# Run the linter.
- id: ruff
args: [ --fix ]
Copy link
Contributor

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)

name="recceiver"
name = "recceiver"
version = "1.5"
description = "resync server"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo

[project.urls]
Repository="https://github.com/mdavidsaver/recsync"
optional-dependencies.test = [ "pytest", "testcontainers>=4" ]
urls.Repository = "https://github.com/mdavidsaver/recsync"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is wrong?


[tool.ruff]
line-length = 120
target-version = "py39"
Copy link
Contributor

Choose a reason for hiding this comment

The 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.pytest.ini_options]
log_cli = true
log_cli_level = "DEBUG"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we really need this as default?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants