Skip to content

Commit 785bc1b

Browse files
authored
Merge branch 'main' into feat/get_app_docs_url
2 parents 9614312 + c925ac9 commit 785bc1b

File tree

5 files changed

+16
-6
lines changed

5 files changed

+16
-6
lines changed

.github/workflows/labeler.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- uses: actions/labeler@v5
20-
with:
21-
sync-labels: true
2220
# Run this after labeler applied labels
2321
check-labels:
2422
needs:

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ jobs:
9999
- run: ls -la coverage
100100
- run: coverage combine coverage
101101
- run: coverage report
102-
- run: coverage html --show-contexts --title "Coverage for ${{ github.sha }}"
102+
- run: coverage html --title "Coverage for ${{ github.sha }}"
103103
- name: Store coverage HTML
104104
uses: actions/upload-artifact@v4
105105
with:

pyproject.toml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,11 @@ standard = [
4242
]
4343

4444
[project.urls]
45-
Documentation = "https://fastapi.tiangolo.com"
46-
homepage = "https://github.com/fastapi/fastapi-cli"
45+
Homepage = "https://github.com/fastapi/fastapi-cli"
46+
Documentation = "https://fastapi.tiangolo.com/fastapi-cli/"
4747
Repository = "https://github.com/fastapi/fastapi-cli"
48+
Issues = "https://github.com/fastapi/fastapi-cli/issues"
49+
Changelog = "https://github.com/fastapi/fastapi-cli/blob/main/release-notes.md"
4850

4951
[project.scripts]
5052
fastapi = "fastapi_cli.cli:main"
@@ -84,18 +86,24 @@ source = [
8486
"tests",
8587
]
8688
context = '${CONTEXT}'
89+
dynamic_context = "test_function"
8790
omit = [
8891
"tests/assets/*",
8992
]
9093

9194
[tool.coverage.report]
95+
show_missing = true
96+
sort = "-Cover"
9297
exclude_lines = [
9398
"pragma: no cover",
9499
"@overload",
95100
'if __name__ == "__main__":',
96101
"if TYPE_CHECKING:",
97102
]
98103

104+
[tool.coverage.html]
105+
show_contexts = true
106+
99107
[tool.mypy]
100108
strict = true
101109
exclude = [

release-notes.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,12 @@
22

33
## Latest Changes
44

5+
* 👷 Do not sync labels as it overrides manually added labels. PR [#71](https://github.com/fastapi/fastapi-cli/pull/71) by [@tiangolo](https://github.com/tiangolo).
6+
57
### Internal
68

9+
* 🔧 Update coverage configs. PR [#74](https://github.com/fastapi/fastapi-cli/pull/74) by [@tiangolo](https://github.com/tiangolo).
10+
* 🔧 Add URLs to `pyproject.toml`, show up in PyPI. PR [#72](https://github.com/fastapi/fastapi-cli/pull/72) by [@tiangolo](https://github.com/tiangolo).
711
* 👷 Update GitHub Action labeler to only add one label. PR [#70](https://github.com/fastapi/fastapi-cli/pull/70) by [@tiangolo](https://github.com/tiangolo).
812
* 👷 Update GitHub Action labeler permissions and dependencies. PR [#69](https://github.com/fastapi/fastapi-cli/pull/69) by [@tiangolo](https://github.com/tiangolo).
913
* 👷 Add GitHub Action label-checker. PR [#68](https://github.com/fastapi/fastapi-cli/pull/68) by [@tiangolo](https://github.com/tiangolo).

scripts/test-cov-html.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ set -x
55

66
bash scripts/test.sh ${@}
77
coverage combine
8-
coverage report --show-missing
8+
coverage report
99
coverage html

0 commit comments

Comments
 (0)