-
Notifications
You must be signed in to change notification settings - Fork 80
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
Fix ruff config for ruff==2.0 #969
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #969 +/- ##
=======================================
Coverage 87.51% 87.51%
=======================================
Files 44 44
Lines 5341 5341
Branches 954 954
=======================================
Hits 4674 4674
Misses 452 452
Partials 215 215 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small nit
@@ -112,13 +114,13 @@ ignore = [ | |||
"EM102", | |||
] | |||
|
|||
[tool.ruff.isort] | |||
[tool.ruff.lint.isort] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you increase the minimum required ruff version then?
* Fixed `AnalysisException` in `crawl_tables` task by ignoring the database that is not found ([#970](#970)). * Fixed `Unknown: org.apache.hadoop.hive.ql.metadata.HiveException: NoSuchObjectException` in `crawl_grants` task by ignoring the database that is not found ([#967](#967)). * Fixed ruff config for ruff==2.0 ([#969](#969)). * Made groups integration tests less flaky ([#965](#965)).
* Fixed `AnalysisException` in `crawl_tables` task by ignoring the database that is not found ([#970](#970)). * Fixed `Unknown: org.apache.hadoop.hive.ql.metadata.HiveException: NoSuchObjectException` in `crawl_grants` task by ignoring the database that is not found ([#967](#967)). * Fixed ruff config for ruff==2.0 ([#969](#969)). * Made groups integration tests less flaky ([#965](#965)).
## Changes Removes warning from ruff when running `make fmt` ``` warning: The top-level linter settings are deprecated in favour of their counterparts in the `lint` section. Please update the following options in `pyproject.toml`: - 'ignore' -> 'lint.ignore' - 'flake8-tidy-imports' -> 'lint.flake8-tidy-imports' - 'isort' -> 'lint.isort' - 'per-file-ignores' -> 'lint.per-file-ignores' ```
* Fixed `AnalysisException` in `crawl_tables` task by ignoring the database that is not found ([#970](#970)). * Fixed `Unknown: org.apache.hadoop.hive.ql.metadata.HiveException: NoSuchObjectException` in `crawl_grants` task by ignoring the database that is not found ([#967](#967)). * Fixed ruff config for ruff==2.0 ([#969](#969)). * Made groups integration tests less flaky ([#965](#965)).
Changes
Removes warning from ruff when running
make fmt