We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc27882 commit 7a2a4c0Copy full SHA for 7a2a4c0
2 files changed
Makefile
@@ -12,10 +12,12 @@ upload-pypi:
12
python3 -m twine upload --repository pypi dist/*
13
14
lint:
15
- prospector
+ echo "To lint this project, make sure that you have installed the core" >&2;
16
+ ruff check .
17
18
mypy:
- mypy flamapy
19
20
+ mypy -p flamapy
21
22
test:
23
python -m pytest -sv
flamapy/core/models/ast.py
@@ -123,7 +123,7 @@ def pretty_str(self) -> str:
123
if self.right is not None:
124
res = f'{data}({left}, {right})'
125
else:
126
- res = f'{data}({left})'
+ res = f'{data}({left})' # type: ignore[unreachable]
127
else: # binary operation
128
res = f'{left} {data} {right}'
129
return res
0 commit comments