Fix `use-set-literal` lint errors
See original GitHub issueFix use-set-literal
lint errors by following the instructions below (example PR: #6534):
What needs to be fixed?
set
applied on list
or tuple
literal need to be converted to set
literal:
# Bad
set([1, 2, 3])
set((1, 2, 3))
# Good
{1, 2, 3}
Files
File | Assignee | PR |
---|---|---|
mlflow/azure/client.py | @Monkero | #6544 |
mlflow/entities/lifecycle_stage.py | @Monkero | #6544 |
mlflow/entities/run_status.py | @Monkero | #6544 |
mlflow/server/handlers.py | @dsgibbons | #6542 |
mlflow/tracking/fluent.py | @dsgibbons | #6542 |
mlflow/utils/autologging_utils/safety.py | @dsgibbons | #6542 |
tests/autologging/test_autologging_behaviors_unit.py | @dsgibbons | #6543 |
tests/entities/test_run_info.py | @dsgibbons | #6543 |
tests/entities/test_run_status.py | @dsgibbons | #6543 |
tests/lightgbm/test_lightgbm_autolog.py | @iamthen0ise | #6560 |
tests/models/test_model_input_examples.py | @iamthen0ise | #6560 |
tests/projects/test_project_spec.py | @iamthen0ise | #6560 |
tests/pyfunc/test_model_export_with_loader_module_and_data_path.py | @dsgibbons | #6584 |
tests/store/artifact/test_databricks_artifact_repo.py | @dsgibbons | #6584 |
tests/store/artifact/test_ftp_artifact_repo.py | @dsgibbons | #6584 |
~tests/tensorflow/test_tensorflow2_autolog.py~ | - | - |
tests/utils/test_requirements_utils.py | @dsgibbons | #6584 |
tests/xgboost/test_xgboost_autolog.py | @dsgibbons | #6584 |
mlflow/utils/search_utils.py | @harupy | #6534 |
tests/entities/model_registry/test_model_version.py | @harupy | #6534 |
tests/entities/model_registry/test_registered_model.py | @harupy | #6534 |
tests/store/tracking/test_sqlalchemy_store.py | @harupy | #6534 |
tests/tracking/test_model_registry.py | @harupy | #6534 |
If you’re interested in working on this issue, ping me with the file you would like to work on. Please fix only 1 ~ 3 items per pull request.
Issue Analytics
- State:
- Created a year ago
- Comments:20 (20 by maintainers)
Top Results From Across the Web
Automatically fix lint problems only on a specific file
I am running npm run lint -- --fix from command line to automatically fix lint errors, but this command creates fixes on the...
Read more >VS Code tips — Quickly fix all linter errors in a file ... - YouTube
Today's VS Code extension tip: ESLint fix all actions Quickly fix all linter problems for a given ESLint rule or fix all auto...
Read more >fix lint errors · Issue #2245 · cloudfoundry/cli - GitHub
I created a local branch and fixed the errors. Do you want a PR? What happened. I ran "make", which runs the lint...
Read more >Command Line Interface - ESLint - Pluggable JavaScript Linter
A pluggable and configurable linter tool for identifying and reporting on patterns in JavaScript. Maintain your code quality with ease.
Read more >Don't just lint your code - fix it with Prettier - freeCodeCamp
Linters are powerful and provide an easy way to scan your code for syntax errors that could lead to bugs. Or they can...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@dsgibbons @iamthen0ise @Monkero Thanks for working on this issue! We have more good-first issues. Please let me know if you’re interested in working on them 😃
@dsgibbons Thanks! When you file a PR, can you remove the
IGNORED_FILES
variable?