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

Fix W291 W605 for beamplanbuilder.py and classlist.py #1093

Merged
merged 1 commit into from
Jul 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion regolith/builders/beamplanbuilder.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class BeamPlanBuilder(LatexBuilderBase):
"""
Build a file of experiment plans for the beamtime from database entries.

The report is in the .tex file. The template of the file is in the
The report is in the '.tex' file. The template of the file is in the
'templates/beamplan.tex'. The data will be grouped
according to beamtime. Each beamtime will generate a file of the plans.
If 'beamtime' in 'rc' are not None, only plans for those beamtime will be generated.
Expand Down
2 changes: 1 addition & 1 deletion regolith/classlist.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
return students


RE_ID = re.compile("^[A-Z]\d+$")
RE_ID = re.compile(r"^[A-Z]\d+$")

Check warning on line 53 in regolith/classlist.py

View check run for this annotation

Codecov / codecov/patch

regolith/classlist.py#L53

Added line #L53 was not covered by tests
RE_NAME = re.compile("^[A-Za-z-]+$")


Expand Down
Loading