Skip to content

Commit c2f9057

Browse files
committed
formatting
- limit line columns length to 85 - install lark-parser for pylint to resolve modules
1 parent 52599f8 commit c2f9057

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
python-version: '3.x'
3636
- name: "Main Script"
3737
run: |
38-
EXTRA_INSTALL="pymbolic"
38+
EXTRA_INSTALL="pymbolic lark-parser"
3939
curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/prepare-and-run-pylint.sh
4040
. ./prepare-and-run-pylint.sh "$(basename $GITHUB_REPOSITORY)" test/test_*.py
4141

.gitlab-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Mypy:
5050

5151
Pylint:
5252
script:
53-
- EXTRA_INSTALL="pymbolic"
53+
- EXTRA_INSTALL="pymbolic lark-parser"
5454
- py_version=3
5555
- curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/prepare-and-run-pylint.sh
5656
- . ./prepare-and-run-pylint.sh "$CI_PROJECT_NAME" test/test_*.py

pytools/tag.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
__doc__ = """
3535
3636
Tag Interface
37-
---------------
37+
===============
3838
3939
.. autoclass:: Tag
4040
.. autoclass:: UniqueTag
@@ -275,7 +275,8 @@ def parse_tag(tag_text, shortcuts={}):
275275
import inspect
276276
caller_globals = inspect.currentframe().f_back.f_globals
277277
parser = Lark(TAG_GRAMMAR, start="tag")
278-
tag = ToPythonObjectMapper(shortcuts, caller_globals).transform(parser.parse(tag_text))
278+
tag = ToPythonObjectMapper(shortcuts, caller_globals).transform(
279+
parser.parse(tag_text))
279280

280281
return tag
281282

0 commit comments

Comments
 (0)