Skip to content

Commit 44c34f5

Browse files
committed
Changed setup and versioning
1 parent 014c32a commit 44c34f5

File tree

6 files changed

+26
-552
lines changed

6 files changed

+26
-552
lines changed

README.rst

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,7 @@ Install into the same virtualenv as pyls itself.
2222
Configuration
2323
-------------
2424

25-
``live_mode`` (default is True) provides type checking as you type.
26-
27-
As mypy is unaware of what file path is being checked, there are limitations with live_mode
28-
- Imports cannot be followed correctly
29-
- Stub files are not validated correctly
25+
``live_mode`` (default is True) provides type checking as you type. This writes a tempfile every time a check is done.
3026

3127
Turning off live_mode means you must save your changes for mypy diagnostics to update correctly.
3228

@@ -41,7 +37,7 @@ Depending on your editor, the configuration should be roughly like this:
4137
"pyls_mypy":
4238
{
4339
"enabled": true,
44-
"live_mode": false
40+
"live_mode": true
4541
}
4642
}
4743
}

pyls_mypy/__init__.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1 @@
1-
from ._version import get_versions
2-
import sys
31

4-
if sys.version_info[0] < 3:
5-
from future.standard_library import install_aliases
6-
install_aliases()
7-
8-
__version__ = get_versions()['version']
9-
del get_versions

0 commit comments

Comments
 (0)