Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Create nl_NL * Delete nl_NL * Add date_time provider for nl_NL * Added date_time nl_NL test case * Added nl_NL provider * Added nl_NL test case * Added nl_NL automotive provider * Added tests for nl_NL automotive provider * flake8 fixes * flake8 fixes in test_automotive * import order fixes * Added type annotations * mypy fixes * isort fixes * minor flake8 fixes * Fixed circular import error in generator.py * Circular import error fix * Typing fixes for OrderedDict * OrderedDict Python 3.6 fix * OrderedDictType fix in proxy * Added mypy test to tox.ini * Update tox.ini * Update tox.ini * PyPy is incompatible with mypy * Update tox.ini * Removed `automotive` provider `nl_NL` * Typo * Many typing fixes - New mypy version in tox.ini - Replaced Any with TypeVar('T') - Added List[str] pr Tuple[str, ...] in many places (e.g. base classes, so that inherited classes would not throw errors) - Fully fixed `providers.color.color.py` * Added ElementsType (input for `BaseProvider.random_element()`) * First typing fixes in date_time * Minor Typing fixes to date_time * Typing fixes in `providers.company` * Minor typing fixes in `providers.barcode` * Minor typing fixes in `providers.address` * Minor typing fixes in `providers.person` * Update decorators.py * Minor typing fixes in `providers.automotive` * Import typing.Pattern in test files * Added type: ignore[attr-defined] hotfix * Added final missing Pattern imports * Optional distrib, flake8 fix in test_user_agent * Minor typing fixes * Literal not supported before Python 3.8 * Bug fix in datetime.fromtimestamp * Fixed broken tests Except TestInternetProvider.test_ipv4_distribution_selection! * Fixed test_ipv4_distribution_selection * Update decimal in `geo.el_GR` * Add mypy config and improve command for tox * Fix last type errors - remove OrderedDictType and use Dict instead - remove type checking for Literal and use try catch instead - add Any for *args and **kwargs arguments * Updated MANIFEST.in to include mypy.ini * Renamed typing.py to typing.pyi * Some Python versions don't like .pyi * Updated coding_style.rst - Removed redundant TypeVar from Generator - Ordered typing.py in alphabetical order * Added mypy to .github/workflows/ci.yml * Added dependency order to ci.yml * Python 3.10 to "3.10" in ci.yml * Unused ignores across versions python/mypy#8823 * Show error codes * Python 3.6 mypy fix * Final changes Co-authored-by: Nico Carl <nicocarl@protonmail.com>
- Loading branch information
1 parent
4f48a5a
commit 9a382ed
Showing
245 changed files
with
2,276 additions
and
2,097 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
if __name__ == "__main__": | ||
from faker.cli import execute_from_command_line | ||
from .cli import execute_from_command_line | ||
execute_from_command_line() |
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
Oops, something went wrong.