Skip to content

Commit dcb1d84

Browse files
Use consistent capitalization of bitbucket pipelines (#1067)
* Use consistent capitalization of bitbucket pipelines * Fix pluralization issue for Bitbucket Pipelines
1 parent 52088e4 commit dcb1d84

7 files changed

Lines changed: 9 additions & 9 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,9 +271,9 @@
271271
### 🚀 New Features
272272

273273
- The Ruff linter and formatter can now be configured independently. When using the `usethis tool ruff` command, you can now specify whether to add or remove the linter or formatter independently using the `--linter` and `--formatter` options. This allows for more granular control over which components of Ruff are used in your project. By default, as before, both the linter and formatter will be added or removed together.
274-
This introduces a change in the way that Bitbucket Pipeline steps will be configured for Ruff, by having the linter and formatter as separate steps.
274+
This introduces a change in the way that Bitbucket Pipelines steps will be configured for Ruff, by having the linter and formatter as separate steps.
275275

276-
- Integrations with Ruff for pre-commit and Bitbucket pipelines will determine whether the linter or formatter is being used based on the presence of the `ruff.lint` and `ruff.format` keys the active Ruff configuration file.
276+
- Integrations with Ruff for pre-commit and Bitbucket Pipelines will determine whether the linter or formatter is being used based on the presence of the `ruff.lint` and `ruff.format` keys the active Ruff configuration file.
277277

278278
### 🐞 Bug Fixes
279279

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ $ uvx usethis tool pytest
161161
☐ Run 'uv run pytest' to run the tests.
162162
```
163163

164-
To configure Bitbucket pipelines, run:
164+
To configure Bitbucket Pipelines, run:
165165

166166
```console
167167
$ uvx usethis ci bitbucket

docs/example-usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ $ uvx usethis tool pytest
5151
☐ Run 'uv run pytest' to run the tests.
5252
```
5353

54-
To configure Bitbucket pipelines, run:
54+
To configure Bitbucket Pipelines, run:
5555

5656
```console
5757
$ uvx usethis ci bitbucket

src/usethis/_integrations/ci/bitbucket/schema_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def step1tostep(step1: Step1) -> Step:
1212
"""Promoting Step1 to a standard Step.
1313
1414
This is necessary because there is some unusual inconsistency in the JSON Schema
15-
for Bitbucket pipelines that means conditions are not constrained by type when
15+
for Bitbucket Pipelines that means conditions are not constrained by type when
1616
occurring in a stage, whereas at time of writing they are constrained in all other
1717
circumstances. This gives rise to strange naming in the output of
1818
datamodel-code-generator (which is repeated here for consistency).

src/usethis/_tool/impl/pytest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ def get_managed_bitbucket_step_names(self) -> list[str]:
265265
return sorted(names)
266266

267267
def update_bitbucket_steps(self) -> None:
268-
"""Update the pytest-related Bitbucket pipelines steps.
268+
"""Update the pytest-related Bitbucket Pipelines steps.
269269
270270
A bespoke function is needed here to ensure we inform the user about the need
271271
to manually add the dependencies if they are not using a backend.

src/usethis/_ui/interface/ci.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
)
99

1010

11-
@app.command(help="Use Bitbucket pipelines for CI.")
11+
@app.command(help="Use Bitbucket Pipelines for CI.")
1212
def bitbucket(
1313
remove: bool = typer.Option(
14-
False, "--remove", help="Remove Bitbucket pipelines CI instead of adding it."
14+
False, "--remove", help="Remove Bitbucket Pipelines CI instead of adding it."
1515
),
1616
offline: bool = offline_opt,
1717
quiet: bool = quiet_opt,

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def _uv_init_dir(tmp_path_factory: pytest.TempPathFactory) -> Path:
2626
"--lib",
2727
"--python",
2828
# Deliberately kept at at a version other than the latest version to
29-
# check range checks e.g. for Bitbucket pipelines matrixes.
29+
# check range checks e.g. for Bitbucket Pipelines matrixes.
3030
"3.13",
3131
"--vcs",
3232
"none",

0 commit comments

Comments
 (0)