Skip to content

Chore lint#96

Merged
CorentinGS merged 4 commits into
masterfrom
chore_lint
Jan 22, 2026
Merged

Chore lint#96
CorentinGS merged 4 commits into
masterfrom
chore_lint

Conversation

@CorentinGS
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 67 out of 70 changed files in this pull request and generated 5 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread pyproject.toml
"opentelemetry-exporter-otlp~=1.39.1",
"wrapt~=1.17.3",
"httpx>=0.28.1",
"black>=26.1.0",
Copy link

Copilot AI Jan 22, 2026

Choose a reason for hiding this comment

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

The black dependency has been added to the project dependencies. However, Black is typically used as a development tool rather than a runtime dependency. Consider moving it to the dev optional dependencies group instead to keep the production installation lean.

Copilot uses AI. Check for mistakes.
Comment thread pyproject.toml
[tool.ruff]
line-length = 120
target-version = "py310"
line-length = 160
Copy link

Copilot AI Jan 22, 2026

Choose a reason for hiding this comment

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

The line length has been increased from 120 to 160 characters. While this is a valid choice, it may cause readability issues on smaller screens and in code review tools. The Python community standard (PEP 8) recommends 79-99 characters. Consider if 160 is necessary or if 120 was more appropriate.

Copilot uses AI. Check for mistakes.
Comment thread pyproject.toml
]

[[tool.hatch.envs.test.matrix]]
python = ["3.10", "3.11", "3.12", "3.13", "3.14"]
Copy link

Copilot AI Jan 22, 2026

Choose a reason for hiding this comment

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

The Python 3.14 version is listed in the test matrix, but Python 3.14 has not been released yet (current stable is 3.13). This will cause CI failures. Remove 3.14 from the matrix until it's released, or use an alpha/beta version explicitly if testing against pre-release versions.

Copilot uses AI. Check for mistakes.

# Add row asynchronously
row, warning = await client.add_row(
row = await client.add_row(
Copy link

Copilot AI Jan 22, 2026

Choose a reason for hiding this comment

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

Variable row is not used.

Copilot uses AI. Check for mistakes.
trace._TRACER_PROVIDER_SET_ONCE = trace.Once()
try:
trace.set_tracer_provider(original_provider)
except Exception:
Copy link

Copilot AI Jan 22, 2026

Choose a reason for hiding this comment

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

'except' clause does nothing but pass and there is no explanatory comment.

Copilot uses AI. Check for mistakes.
@CorentinGS CorentinGS marked this pull request as ready for review January 22, 2026 22:50
@CorentinGS CorentinGS merged commit 404fd33 into master Jan 22, 2026
5 checks passed
@CorentinGS CorentinGS deleted the chore_lint branch January 23, 2026 15:14
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