-
Notifications
You must be signed in to change notification settings - Fork 2
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 #8 from bitranox/development
v2.0.7
- Loading branch information
Showing
7 changed files
with
125 additions
and
88 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
put 3rd party stubs in this directory needed to pass mypy on travis. | ||
|
||
in the travis.yml the MYPYPATH is set to this directory. | ||
|
||
for local testing, put the *.pyi Files into another central directory and set the mypy path accordingly. | ||
the reason for that is, that a certain *.pyi have to be only found once by mypy, otherwise it will throw an error. | ||
|
||
lets say, we have an external module "external_test" and we created an "external_test.pyi" stub file. | ||
|
||
the module "external_test" is used in project_a, and project_b, and package_a imports package_b | ||
|
||
|
||
-- projects -- stub_directory -- external_test.pyi | ||
| | ||
-- project_A ------- package_a_dir --- 3rd_party_stubs --- external_test.pyi | ||
| | ||
-- project_B ------- package_b_dir --- 3rd_party_stubs --- external_test.pyi | ||
|
||
|
||
for travis test of project_A we need to set the MYPYPATH to .../projects/project_A/package_a_dir/3rd_party_stubs | ||
|
||
for local tests, we need to set the MYPYPATH to .../projects/stub_directory , not to find external_test.pyi twice. |
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,6 +1,6 @@ | ||
name = 'rst_include' | ||
title = 'commandline tool to resolve RST File includes' | ||
version = '2.0.5' | ||
version = 'v2.0.7' | ||
url = 'https://github.com/bitranox/rst_include' | ||
author = 'Robert Nowotny' | ||
author_email = '[email protected]' | ||
|
@@ -14,7 +14,7 @@ def print_info() -> None: | |
commandline tool to resolve RST File includes | ||
Version : 2.0.5 | ||
Version : v2.0.7 | ||
Url : https://github.com/bitranox/rst_include | ||
Author : Robert Nowotny | ||
Email : [email protected]""") |
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