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

Add a .shellcheckrc file #7079

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from
Draft

Conversation

mhucka
Copy link
Contributor

@mhucka mhucka commented Feb 23, 2025

This adds a config file for .shellcheckrc, and sets a few optional flags to try to make shellcheck slightly more thorough.

This adds a config file for .shellcheckrc, and sets a few optional
flags to try to make shellcheck slightly more thorough.
@CirqBot CirqBot added the size: S 10< lines changed <50 label Feb 23, 2025
Copy link

codecov bot commented Feb 23, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.16%. Comparing base (965490f) to head (022fad6).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7079      +/-   ##
==========================================
- Coverage   98.16%   98.16%   -0.01%     
==========================================
  Files        1093     1093              
  Lines       95456    95456              
==========================================
- Hits        93701    93700       -1     
- Misses       1755     1756       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

mhucka added a commit to mhucka/Cirq that referenced this pull request Feb 23, 2025
Using the added `.shellcheckrc` options of PR quantumlib#7079, the `shellcheck`
program flagged a couple of places where the effects of the `set -e`
at the beginning of this script would not have the expected effect.
@mhucka mhucka self-assigned this Feb 25, 2025
@mhucka mhucka added area/cleancode kind/health For CI/testing/release process/refactoring/technical debt items labels Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cleancode kind/health For CI/testing/release process/refactoring/technical debt items size: S 10< lines changed <50
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants