-
Notifications
You must be signed in to change notification settings - Fork 60
Add ruff.toml, pre-commit #264
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: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Hemil Desai <[email protected]>
@@ -61,21 +61,22 @@ | |||
from nemo_run.cli import devspace as devspace_cli | |||
from nemo_run.cli import experiment as experiment_cli | |||
from nemo_run.cli.cli_parser import parse_cli_args, parse_factory | |||
from nemo_run.cli.config import ConfigSerializer | |||
from nemo_run.cli.lazy import LazyEntrypoint |
Check notice
Code scanning / CodeQL
Cyclic import Note
nemo_run.cli.lazy
Copilot Autofix
AI 5 days ago
Copilot could not generate an autofix suggestion
Copilot could not generate an autofix suggestion for this alert. Try pushing a new commit or if the problem persists contact support.
import os | ||
|
||
from omegaconf import OmegaConf | ||
|
||
from nemo_run.cli.config import ConfigSerializer |
Check notice
Code scanning / CodeQL
Cyclic import Note
nemo_run.cli.config
Copilot Autofix
AI 5 days ago
Copilot could not generate an autofix suggestion
Copilot could not generate an autofix suggestion for this alert. Try pushing a new commit or if the problem persists contact support.
|
||
import nemo_run as run | ||
import nemo_run.cli.cli_parser # Import the module to mock its function |
Check notice
Code scanning / CodeQL
Unused import Note test
Show autofix suggestion
Hide autofix suggestion
Copilot Autofix
AI 5 days ago
To fix the issue, the unused import statement import nemo_run.cli.cli_parser
on line 31 should be removed. This will eliminate the unnecessary dependency and improve code readability. No additional changes are required, as the removal of this import does not affect the functionality of the code.
-
Copy modified line R31
@@ -30,3 +30,3 @@ | ||
import nemo_run as run | ||
import nemo_run.cli.cli_parser # Import the module to mock its function | ||
|
||
from nemo_run import cli, config |
Signed-off-by: Hemil Desai <[email protected]>
No description provided.