-
Notifications
You must be signed in to change notification settings - Fork 1
Deprecate the pylint+safety CI tests job #338
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
The latest safety CLI has a dedicated GitHub Action one can use instead (the 'safety check' has been deprecated and 'safety scan' requires a user). Pylint is not longer being used in general in favor of ruff.
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.
Pull Request Overview
This PR deprecates the pylint
and safety
CI test jobs in favor of using pre-commit hooks and a dedicated GitHub Action for safety.
- Disable the execution of
pylint
andsafety
tests by updating default values to false in workflow files. - Update documentation to include a deprecation notice and mark related parameters as deprecated.
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
File | Description |
---|---|
docs/workflows/ci_tests.md | Added deprecation warnings and updated parameter defaults. |
.github/workflows/ci_tests.yml | Changed default values for run_pylint and run_safety to false. |
.github/workflows/_local_ci_tests.yml | Set run_safety to false and removed outdated commented options. |
Comments suppressed due to low confidence (1)
docs/workflows/ci_tests.md:244
- [nitpick] There appear to be duplicate parameter definitions for deprecated CI jobs in this file. Consider consolidating these entries into a single table to improve clarity for users.
| `run_pylint` | **_Deprecated_** Run the `pylint` test job. | No | `false` | _boolean_ |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #338 +/- ##
=======================================
Coverage 85.37% 85.37%
=======================================
Files 12 12
Lines 937 937
=======================================
Hits 800 800
Misses 137 137 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Update deprecation warning message
The latest safety CLI has a dedicated GitHub Action one can use instead (the 'safety check' has been deprecated and 'safety scan' requires a user).
Pylint is not longer being used in general in favor of ruff.
AI Summary
This pull request deprecates the
pylint
andsafety
jobs in favor of usingpre-commit
hooks and a dedicated GitHub Action forsafety
. It updates configuration files and documentation to reflect this change, including setting the default values for these jobs tofalse
and marking related inputs as deprecated.Deprecation of
pylint
andsafety
jobs:.github/workflows/_local_ci_tests.yml
: Disabled thesafety
job by settingrun_safety
tofalse
and removed thesafety_options
configuration..github/workflows/ci_tests.yml
: Changed the default values forrun_pylint
andrun_safety
tofalse
. [1] [2]Documentation updates:
docs/workflows/ci_tests.md
: Added a deprecation notice for thepylint
andsafety
jobs, recommending the use ofpre-commit
hooks and thesafety
GitHub Action.docs/workflows/ci_tests.md
: Updated the default values forrun_pylint
andrun_safety
tofalse
in the parameter table and marked related inputs as deprecated. [1] [2]