forked from cms-L1TK/firmware-hls
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use python3 for all generate scripts (cms-L1TK#200)
* Switch to using python3 for all of the generate scripts. Add some deterministic sorting to the PR and IR scripts so that they return the same module order every time. * Add a python linter and use the 'needs' GitLab keyword to create a DAG for the pipelines. Run pylint on several of the generate scripts and fix a lot, but not all of the errors. * Fix some of the linting problems with generate_ME.py. * Make the python linting non-blocking, more like a recommendation. However, the python3 compatibility checking is still blocking. * Fix a bug in the generate_TB.py script. * Exit on failure of any command. * Split the python linting into two stages, one to check for python3 compatibility and one to do the code formating. The first job must pass, but the second is allowed to fail. * Make the download CI job depend on the linting jobs. This isn't really a technical requirement, but it short circuits any issues if the python3 linting fails. In the future, the same short circuit could apply if we don't allow the style linting to fail.
- Loading branch information
Alexx Perloff
authored
Sep 20, 2021
1 parent
965b4ef
commit 5cc4549
Showing
11 changed files
with
1,648 additions
and
971 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.