Skip to content
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

[ALCA] Fix syntax in python scripts #46163

Merged
merged 1 commit into from
Oct 2, 2024

Conversation

iarspider
Copy link
Contributor

PR description:

Fix syntax in python scripts:

  • Switch to python 3 syntax: print(), except ... as
  • Partial fix for indentation: make all indented line use the same characters for indentation (either spaces or tabs), remove mixing of tabs and spaces
  • Add missing braces and commas, fix invalid syntax (FWLiteEnabler::enable() should be ROOT.FWLiteEnabler.enable()), remove trailing semicolons

This is a preparation for fixing #46113 . Maybe some of these scripts are not needed anymore and can be removed?

PR validation:

Bot tests.

@iarspider
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 1, 2024

cms-bot internal usage

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 1, 2024

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 1, 2024

A new Pull Request was created by @iarspider for master.

It involves the following packages:

  • Alignment/OfflineValidation (alca)
  • CalibCalorimetry/CaloMiscalibTools (alca)
  • CalibCalorimetry/EcalCorrelatedNoiseAnalysisModules (alca)
  • CalibTracker/SiStripChannelGain (alca)
  • CalibTracker/SiStripDCS (alca)
  • CalibTracker/SiStripHitResolution (alca)
  • Calibration/EcalAlCaRecoProducers (alca)
  • Calibration/LumiAlCaRecoProducers (alca)
  • MuonAnalysis/MomentumScaleCalibration (alca)

@atpathak, @consuegs, @perrotta can you please review it and eventually sign? Thanks.
@ReyerBand, @adewit, @alesaggio, @argiro, @bellan, @echabert, @gbenelli, @mmusich, @rchatter, @robervalwalsh, @rsreds, @thomreis, @tlampen, @tocheng, @wang0jin, @yuanchao this is something you requested to watch as well.
@antoniovilela, @mandrenguyen, @rappoccio, @sextonkennedy you are the release manager for this.

cms-bot commands are listed here

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 1, 2024

+1

Size: This PR adds an extra 84KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-658523/41826/summary.html
COMMIT: 1b6fb6c
CMSSW: CMSSW_14_2_X_2024-09-30-2300/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/46163/41826/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

@perrotta
Copy link
Contributor

perrotta commented Oct 1, 2024

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 1, 2024

This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @sextonkennedy, @antoniovilela, @mandrenguyen, @rappoccio (and backports should be raised in the release meeting by the corresponding L2)

@mandrenguyen
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 231fb53 into cms-sw:master Oct 2, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants