- 11 Jan, 2022 1 commit
-
-
* Update flake8 settings * Add poetry to isort namespace packages * Ignore flake8 E501 for long test names * Run automatic string formatting on tests * Run automatic string formatting on src * Fix typo "already exits" * Ignore long URLs, hashes, and paths * Fix in-line comments * Fix in-line comments in tests * Fix docstrings * Ignore misc * Fix f-strings in src * Fix f-strings in tests * Fix multi-line strings in src * Fix multi-line strings in tests * Fix some oddly autoformatted code * Replace some strings by multi-line strings * Revert namespace change * Add black string processing to pre-commit * Move black pre-commit config to pyproject.toml * Autoformat install scripts * Manual line wrapping for install scripts * Disable black formatting for expected strings * Replace strings by constant
Stijn de Gooijer committed
-
- 10 Jan, 2022 1 commit
-
-
finswimmer committed
-
- 08 Jan, 2022 1 commit
-
-
finswimmer committed
-
- 05 Jan, 2022 1 commit
-
-
Tencho Tenev committed
-
- 01 Jan, 2022 1 commit
-
-
* Ideas for refactoring And also refering to issue #4961 * Respond to the review Removed items() from os.environ and add blank lines * Add link.is_wheel back
Anselm Hahn committed
-
- 26 Dec, 2021 1 commit
-
-
finswimmer committed
-
- 24 Dec, 2021 1 commit
-
-
Sébastien Eustace committed
-
- 07 Dec, 2021 1 commit
-
-
updates: - [github.com/psf/black: 21.11b1 → 21.12b0](https://github.com/psf/black/compare/21.11b1...21.12b0) - [github.com/pre-commit/pre-commit: v2.15.0 → v2.16.0](https://github.com/pre-commit/pre-commit/compare/v2.15.0...v2.16.0)
pre-commit-ci[bot] committed
-
- 04 Dec, 2021 1 commit
-
-
Bjorn Neergaard committed
-
- 30 Nov, 2021 1 commit
-
-
updates: - [github.com/pre-commit/pre-commit: v2.13.0 → v2.15.0](https://github.com/pre-commit/pre-commit/compare/v2.13.0...v2.15.0)
pre-commit-ci[bot] committed
-
- 29 Nov, 2021 1 commit
-
-
* add pre-commit hooks for check & lock * add pre-commit hook for export requirements.txt * add pre-commit hooks to docs * add pre-commit hook to check pre-commit-hooks.yaml file Thanks @graingert and @asottile for pointing out the `files` constraint. See discussion on #2511. Co-authored-by: Thomas Grainger <tagrain@gmail.com> Co-authored-by: Bjorn Neergaard <bjorn@neersighted.com>
Christian Riedel committed
-
- 28 Nov, 2021 3 commits
-
-
* use new installer in README and website * use double quotes for `pyproject.toml` example * small improvement for installer note * doc: use `python3` for invoking Python
Mathieu Kniewallner committed -
Branch Vincent committed
-
Randy Döring committed
-
- 27 Nov, 2021 3 commits
-
-
Arun Babu Neelicattu committed
-
Arun Babu Neelicattu committed
-
Due to the wording in [1] the broader python tooling ecosystem sometimes expects an exact match to the single line pkgutil extend_path usage. This change replaces current pkgutil style namespace package implementation with the one line implementation described in [1]. This change also causes an import order change as `poetry.core` is correctly detected as a third-party package. [1] https://packaging.python.org/guides/packaging-namespace-packages/#pkgutil-style-namespace-packages
Arun Babu Neelicattu committed
-
- 23 Nov, 2021 3 commits
-
-
* add typehints to tests.publishing * add typehints to tests.puzzle * add typehints to tests.repositories * add typehints to tests.utils.test_authenticator, tests.utils.test_env, tests.utils.test_env_site, tests.utils.test_exporter * add typehints to tests.utils.test_extras, tests.utils.test_helpers, tests.utils.test_password_manager, tests.utils.test_patterns, tests.utils.test_pip, tests.utils.setup_reader * add typehints to tests.test_factory * add typehints to tests.helpers * add remaining missing typehints to tests.conftest * add flake8-annotations to flake8 pre-commit hook * create a FixtureDirGetter protocol type * add comments to .flake8 settings and fix missing typehints after rebase
finswimmer committed -
Randy Döring committed
-
updates: - [github.com/asottile/pyupgrade: v2.29.0 → v2.29.1](https://github.com/asottile/pyupgrade/compare/v2.29.0...v2.29.1) - [github.com/psf/black: 21.10b0 → 21.11b1](https://github.com/psf/black/compare/21.10b0...21.11b1) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
pre-commit-ci[bot] committed
-
- 21 Nov, 2021 4 commits
-
-
Maximilian committed
-
Bjorn Neergaard committed
-
Randy Döring committed
-
* Fix SIM102: Use a single if-statement instead of nested if-statements * Fix SIM105: Use 'contextlib.suppress(...)' instead of try-except-pass * Fix SIM110: Use 'return any(...)' * Fix SIM113: Use enumerate instead of manually incrementing a counter * Fix SIM114: Combine conditions via a logical or to prevent duplicating code * Fix SIM211: Use 'not a' instead of 'False if a else True' * Fix SIM300: Use 'age == 42' instead of '42 == age' (Yoda-conditions) * Fix SIM119: Use dataclasses for data containers * Ignore "SIM106: Handle error-cases first" for now
Randy Döring committed
-
- 20 Nov, 2021 2 commits
-
-
* add typehints to tests.inspection * change several yield statements in fixtures to return * add typehints to tests.installation.test_chef, tests.installation.test_chooser, tests.installation.test_executor * add typehints to tests.installation.test_installer * add typehints to tests.installation.test_installer_old * add typehints to tests.installation.test_pip_installer * add typehints to tests.masonry * add typehints to tests.mixology * add typehints to tests.packages * add typehints to tests.plugins
finswimmer committed -
Bjorn Neergaard committed
-
- 19 Nov, 2021 3 commits
-
-
Bjorn Neergaard committed
-
Resolves #4688
Bjorn Neergaard committed -
* add missing type hints to application code * add typehints to tests.config, tests.console.commands.debug, tests.console.commands.env * add typehints to tests.console.commands.plugin * add typehints to tests.self * add typehints to tests.console.commands.source * add typehints to tests.console.commands.about * add typehints tests.console.commands.add * add typehints to tests.console.commands.test_cache * add typehints to tests.console.commands.test_check * add typehints to tests.console.commands.test_config * add typehints to tests.console.commands.test_export * add typehints to tests.console.commands.test_init * add typehints to tests.console.commands.test_install * add typehints to tests.console.commands.test_lock * add typehints to tests.console.commands.test_new * add typehints to tests.console.commands.test_publish * add typehints to tests.console.commands.test_remove * add typehints to tests.console.commands.test_run * add typehints to tests.console.commands.test_search * add typehints to tests.console.commands.test_show * add typehints to tests.console.commands.test_version * add typehints to tests.console.test_application * add typehints to tests.console.conftest * add typehints to tests.console.conftest * add python version constraint for typing-extension * fix type hint for http fixture
finswimmer committed
-
- 18 Nov, 2021 2 commits
-
-
* Use flake8-type-checking * Fixes for flake8-type-checking violations * Set enable-extensions before ignores and excludes * Remove noqa duplicate * Use new flake8-type-checking version with type-checking-exempt-modules feature for imports of typing and typing-extensions so that noqa comments are not required anymore * Ignore TC002 in __init__ files * Remove noqa from pyi files because they are not checked anyway
Randy Döring committed -
Branch Vincent committed
-
- 17 Nov, 2021 4 commits
-
-
Implements the reviews from #3987 and #3988. Special thanks to the committers and reviewers there. Co-authored-by: Harry Peach <harrypeach1999@gmail.com> Co-authored-by: Kamyar Ghasemlou <kamyar@kamy.me> Co-authored-by: Leonardo Freua <leonardo.batista.freua@gmail.com>
Bjorn Neergaard committed -
Bjorn Neergaard committed
-
Branch Vincent committed
-
Daniel Eades committed
-
- 16 Nov, 2021 5 commits
-
-
Bjorn Neergaard committed
-
Bjorn Neergaard committed
-
In order to ensure coverage discovery and prevent flaky tooling.
Bjorn Neergaard committed -
Bjorn Neergaard committed