8000 fix(settings): drop the import #7719 left unused (Ruff F401) by roshangupta00750 · Pull Request #2 · patil2001/ODS · GitHub
[go: up one dir, main page]

Skip to content

fix(settings): drop the import #7719 left unused (Ruff F401) - #2

Closed
roshangupta00750 wants to merge 1 commit into
patil2001:fix/env-save-stale-overwritefrom
roshangupta00750:fix/7719-ruff-unused-import
Closed

roshangupta00750 wants to merge 1 commit into
patil2001:fix/env-save-stale-overwritefrom
roshangupta00750:fix/7719-ruff-unused-import

Conversation

@roshangupta00750
Copy link
Copy Markdown

Fix for Osmantic#7719.

That PR replaced main.py's only use of _read_env_map_from_path, so the Lint Python with Ruff job fails with:

F401 `settings._read_env_map_from_path` imported but unused
  --> ods/extensions/services/dashboard-api/main.py:99

This removes it from the from settings import (...) list. Nothing else in main.py or the tests refers to it.

With CI's exact commands (ruff 0.15.12, --select E,F,W --ignore E501,E701,E731,E741,E402, plus the py39 E9 check): the PR head reports the F401 error; with this commit both report "All checks passed!".

AI assistance was used for analysis and drafting the fix. I reproduced the failure and verified the results above myself.

Osmantic#7719 replaced main.py's only use of _read_env_map_from_path, so Ruff's
F401 check fails the Lint Python job.
@chatgpt-codex-connector
chatgpt-codex-connector Bot commented Oct 20, 2026 •
Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-10-20T18:13:11.229875Z 3dba7f2 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@roshangupta00750
Copy link
Copy Markdown
Author

Closing, since Osmantic#7719 already drops the unused _read_env_map_from_path import (893913d), so this one isn't needed anymore. Thanks for picking it up.

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.

1 participant

0