Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 819fda8

Browse files
committed
Update README with new settings and min version
1 parent e36dd92 commit 819fda8

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Before using this plugin, you must ensure that `mypy` is installed on your syste
2121
```
2222

2323

24-
**Note:** This plugin requires `mypy` 0.2.0 or later.
24+
**Note:** This plugin requires `mypy` 0.520 or later.
2525

2626
### Linter configuration
2727
In order for `mypy` to be executed by SublimeLinter, you must ensure that its path is available to SublimeLinter. Before going any further, please read and follow the steps in [“Finding a linter executable”](http://sublimelinter.readthedocs.org/en/latest/troubleshooting.html#finding-a-linter-executable) through “Validating your PATH” in the documentation.
@@ -40,6 +40,15 @@ To install via Package Control, do the following:
4040
## Settings
4141
For general information on how SublimeLinter works with settings, please see [Settings][settings]. For information on generic linter settings, please see [Linter Settings][linter-settings].
4242

43+
|Setting|Description|Inline Setting|Inline Override|
44+
|:------|:----------|:------------:|:-------------:|
45+
|disallow-any|A comma-separated list of the various types of Any in a module to disallow.|✓|✓|
46+
|strict-optional-whitelist|A comma-separated list of GLOBs for files to ignore strict optional checking.|✓|✓|
47+
|python-version|The Python version that mypy should use for its type stubs.|✓| |
48+
|cache-dir|The directory to store the cache in. Creates a sub-folder in your temporary directory if not specified.| | |
49+
|config-file|Path to the config file to use. A file named `mypy.ini` is recognized automatically.| | |
50+
51+
All other args to mypy should be specified in the `args` list, since they are just flags, rarely used or don't make sense to be recognized as an inline setting.
4352

4453
## Contributing
4554
If you would like to contribute enhancements or fixes, please do the following:

0 commit comments

Comments
 (0)