mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 08:24:40 +01:00
chore: update mypy
(#4718)
* chore: pin mypy to 0.940, stop installing from git * chore: skip mypy check of windows unc check
This commit is contained in:
parent
f0d77b28e8
commit
32bddba3a3
2 changed files with 2 additions and 3 deletions
|
@ -18,9 +18,7 @@ pre-commit
|
|||
pyte>=0.8.0
|
||||
|
||||
# types related
|
||||
# mypy==0.931
|
||||
git+git://github.com/python/mypy.git@9b3147701f054bf8ef42bd96e33153b05976a5e1
|
||||
# TODO: replace above with mypy==0.940 once its released
|
||||
mypy==0.940
|
||||
types-ujson
|
||||
|
||||
# ensure tests run with the amalgamated (==production) xonsh
|
||||
|
|
|
@ -20,6 +20,7 @@ _unc_tempDrives: tp.Dict[str, str] = {}
|
|||
""" drive: sharePath for temp drive letters we create for UNC mapping"""
|
||||
|
||||
|
||||
@tp.no_type_check
|
||||
def _unc_check_enabled() -> bool:
|
||||
r"""Check whether CMD.EXE is enforcing no-UNC-as-working-directory check.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue