-
-
Notifications
You must be signed in to change notification settings - Fork 414
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1150 from lark-parser/henryiii-henryiii/fix/types
Fix for PR #1149
- Loading branch information
Showing
11 changed files
with
89 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[build-system] | ||
requires = ["setuptools>=42"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
|
||
[tool.mypy] | ||
files = "lark" | ||
python_version = "3.6" | ||
show_error_codes = true | ||
enable_error_code = ["ignore-without-code"] | ||
exclude = [ | ||
"^lark/__pyinstaller", | ||
] | ||
|
||
# You can disable imports or control per-module/file settings here | ||
[[tool.mypy.overrides]] | ||
module = [ "js2py" ] | ||
ignore_missing_imports = true |
Submodule nearley
updated
from a46b37 to 326831
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,30 @@ | ||
[tox] | ||
envlist = py36, py37, py38, py39, pypy, pypy3 | ||
skip_missing_interpreters=true | ||
envlist = py36, py37, py38, py39, py310, pypy3, type | ||
skip_missing_interpreters = true | ||
|
||
[testenv] | ||
whitelist_externals = git | ||
deps = | ||
-rtest-requirements.txt | ||
passenv = | ||
TERM | ||
|
||
# to always force recreation and avoid unexpected side effects | ||
recreate=True | ||
recreate = True | ||
|
||
commands= | ||
commands = | ||
git submodule sync -q | ||
git submodule update --init | ||
python -m tests {posargs} | ||
|
||
[testenv:type] | ||
description = run type check on code base | ||
skip_install = true | ||
recreate = false | ||
deps = | ||
mypy==0.950 | ||
types-atomicwrites | ||
types-regex | ||
rich | ||
commands = | ||
mypy |