Skip to content

Commit

Permalink
fix: typos in multiple locations (python-poetry#4483)
Browse files Browse the repository at this point in the history
This commit fixes typographical errors in the CHANGELOG, docs folder,
poetry package, and the tests. This was done via the codespell utility,
which can be found at https://github.com/codespell-project/codespell
  • Loading branch information
kkirsche authored Sep 19, 2021
1 parent 656c71d commit 12adec9
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -971,7 +971,7 @@ commands in project subdirectories.
- Improved dependency resolution to avoid unnecessary operations.
- Improved dependency resolution speed.
- Improved CLI reactivity by deferring imports.
- License classifer is not automatically added to classifers.
- License classifier is not automatically added to classifiers.

### Fixed

Expand Down Expand Up @@ -1016,7 +1016,7 @@ commands in project subdirectories.

### Changed

- Changed how wilcard constraints are handled.
- Changed how wildcard constraints are handled.

### Fixed

Expand Down
2 changes: 1 addition & 1 deletion docs/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ poetry install --extras "mysql pgsql"
poetry install -E mysql -E pgsql
```

By default `poetry` will install your project's package everytime you run `install`:
By default `poetry` will install your project's package every time you run `install`:

```bash
$ poetry install
Expand Down
2 changes: 1 addition & 1 deletion docs/repositories.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ Keyring support is enabled using the [keyring library](https://pypi.org/project/
Poetry will fallback to Pip style use of keyring so that backends like
Microsoft's [artifacts-keyring](https://pypi.org/project/artifacts-keyring/) get a change to retrieve
valid credentials. It will need to be properly installed into Poetry's virtualenv,
preferrably by installing a plugin.
preferably by installing a plugin.

If you are letting Poetry manage your virtual environments you will want a virtualenv
seeder installed in Poetry's virtualenv that installs the desired keyring backend
Expand Down
2 changes: 1 addition & 1 deletion poetry/json/schemas/poetry-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
},
"classifiers": {
"type": "array",
"description": "A list of trove classifers."
"description": "A list of trove classifiers."
},
"packages": {
"type": "array",
Expand Down
2 changes: 1 addition & 1 deletion poetry/repositories/pypi_repository.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ def _get_info_from_urls(self, urls: Dict[str, List[str]]) -> "PackageInfo":
# Checking wheels first as they are more likely to hold
# the necessary information
if "bdist_wheel" in urls:
# Check fo a universal wheel
# Check for a universal wheel
wheels = urls["bdist_wheel"]

universal_wheel = None
Expand Down
2 changes: 1 addition & 1 deletion poetry/utils/extras.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def get_extra_package_names(

def _extra_packages(package_names: Iterable[str]) -> Iterator[str]:
"""Recursively find dependencies for packages names"""
# for each extra pacakge name
# for each extra package name
for package_name in package_names:
# Find the actual Package object. A missing key indicates an implicit
# dependency (like setuptools), which should be ignored
Expand Down
2 changes: 1 addition & 1 deletion tests/installation/test_pip_installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def test_requirement_source_type_url():
"foo",
"0.0.0",
source_type="url",
source_url="https://somehwere.com/releases/foo-1.0.0.tar.gz",
source_url="https://somewhere.com/releases/foo-1.0.0.tar.gz",
)

result = installer.requirement(foo, formatted=True)
Expand Down
2 changes: 1 addition & 1 deletion tests/utils/fixtures/setups/pyyaml/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
allow to represent an arbitrary Python object.
PyYAML is applicable for a broad range of tasks from complex
configuration files to object serialization and persistance."""
configuration files to object serialization and persistence."""
AUTHOR = "Kirill Simonov"
AUTHOR_EMAIL = "xi@resolvent.net"
LICENSE = "MIT"
Expand Down

0 comments on commit 12adec9

Please sign in to comment.