Skip to content

Commit fff8cf4

Browse files
authored
Address todos from the cookiecutter (#43)
2 parents 01018ee + a11bd0a commit fff8cf4

File tree

10 files changed

+5
-53
lines changed

10 files changed

+5
-53
lines changed

.github/ISSUE_TEMPLATE/bug.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,6 @@ body:
5050
- Documentation (part:docs)
5151
- Unit, integration and performance tests (part:tests)
5252
- Build script, CI, dependencies, etc. (part:tooling)
53-
# TODO(cookiecutter): Add other parts
54-
# Please have in mind that that the part:xxx labels need to
55-
# be created in the GitHub repository.
5653
validations:
5754
required: true
5855
- type: textarea

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,4 @@ blank_issues_enabled: true
55
contact_links:
66
- name: Ask a question ❓
77
url: https://github.com/frequenz-floss/frequenz-client-reporting-python/discussions/new?category=support
8-
# TODO(cookiecutter): Make sure the GitHub repository has a discussion category "Support"
9-
# Rename the "Q&A" category to "Support" and change the emoji to 🆘 (SOS)
108
about: Use this if you are not sure how to do something, have installation problems, etc.

.github/keylabeler.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,4 @@ labelMappings:
1616
"part:tests": "part:tests"
1717
"part:tooling": "part:tooling"
1818
"part:❓": "part:❓"
19-
# TODO(cookiecutter): Add other parts
20-
# Please have in mind that that the part:xxx labels need to
21-
# be created in the GitHub repository.
19+

.github/labeler.yml

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -6,32 +6,6 @@
66
# For more details on the configuration please see:
77
# https://github.com/marketplace/actions/labeler
88

9-
# TODO(cookiecutter): Add different parts of the source
10-
# For example:
11-
#
12-
# "part:module":
13-
# - changed-files:
14-
# - any-glob-to-any-file:
15-
# - "src/frequenz/lib/client_reporting/module/**"
16-
#
17-
# "part:other":
18-
# - changed-files:
19-
# - any-glob-to-any-file:
20-
# - "src/frequenz/lib/client_reporting/other/**"
21-
#
22-
# # For excluding some files (in this example, label "part:complicated"
23-
# # everything inside src/ with a .py suffix, except for src/__init__.py)
24-
# "part:complicated":
25-
# - all:
26-
# - changed-files:
27-
# - any-glob-to-any-file:
28-
# - "src/**/*.py"
29-
# - all-glob-to-all-file:
30-
# - "!src/__init__.py"
31-
#
32-
# Please have in mind that that the part:xxx labels need to
33-
# be created in the GitHub repository.
34-
359
"part:docs":
3610
- changed-files:
3711
- any-glob-to-any-file:

.github/workflows/release-notes-check.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ jobs:
2222
if: github.event_name == 'pull_request'
2323
uses: brettcannon/check-for-changed-files@4170644959a21843b31f1181f2a1761d65ef4791 # v1.2.0
2424
with:
25-
# TODO(cookiecutter): Uncomment the following line for private repositories, otherwise remove it and remove it
26-
# token: ${{ secrets.github_token }}
2725
file-pattern: "RELEASE_NOTES.md"
2826
prereq-pattern: "src/**"
2927
skip-label: "cmd:skip-release-notes"

CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
# Fallback owner.
55
# These are the default owners for everything in the repo, unless a later match
66
# takes precedence.
7-
# TODO(cookiecutter): Add more specific code-owners, check if the default is correct
87
* @frequenz-floss/api-reporting-team
8+
*

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88

99
Reporting API client for Python
1010

11-
TODO(cookiecutter): Improve the README file
12-
1311
## Supported Platforms
1412

1513
The following platforms are officially supported (tested):

docs/_scripts/macros.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,5 @@ def define_env(env: macros.MacrosPlugin) -> None:
7777
# https://squidfunk.github.io/mkdocs-material/reference/code-blocks/#adding-annotations
7878
env.variables["code_annotation_marker"] = _CODE_ANNOTATION_MARKER
7979

80-
# TODO(cookiecutter): Add any other macros, variables and filters here.
81-
8280
# This hook needs to be done at the end of the `define_env` function.
8381
_hook_macros_plugin(env)

mkdocs.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,14 @@ site_author: "Frequenz Energy-as-a-Service GmbH"
88
copyright: "Copyright © 2024 Frequenz Energy-as-a-Service GmbH"
99
repo_name: "frequenz-client-reporting-python"
1010
repo_url: "https://github.com/frequenz-floss/frequenz-client-reporting-python"
11-
# TODO(cookiecutter): "main" is the GitHub repo default branch, you might want to update it
12-
# if the project uses a different default branch.
13-
edit_uri: "edit/main/docs/"
11+
edit_uri: "edit/v0.x.x/docs/"
1412
strict: true # Treat warnings as errors
1513

1614
# Build directories
1715
theme:
1816
name: "material"
19-
# TODO(cookiecutter): You might want to change the logo, the file is located in "docs/"
20-
logo: _img/logo.png
21-
favicon: _img/logo.png
17+
logo: docs/_img/logo.png
18+
favicon: docs/_img/logo.png
2219
language: en
2320
icon:
2421
edit: material/file-edit-outline
@@ -51,7 +48,6 @@ theme:
5148
name: Switch to light mode
5249

5350
extra:
54-
# TODO(cookiecutter): You probably want to update the social links
5551
social:
5652
- icon: fontawesome/brands/github
5753
link: https://github.com/frequenz-floss
@@ -116,8 +112,6 @@ plugins:
116112
show_source: true
117113
signature_crossrefs: true
118114
import:
119-
# TODO(cookiecutter): You might want to add other external references here
120-
# See https://mkdocstrings.github.io/python/usage/#import for details
121115
- https://docs.python.org/3/objects.inv
122116
- https://typing-extensions.readthedocs.io/en/stable/objects.inv
123117
# Note this plugin must be loaded after mkdocstrings to be able to use macros

pyproject.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ description = "Reporting API client for Python"
1515
readme = "README.md"
1616
license = { text = "MIT" }
1717
keywords = ["frequenz", "python", "lib", "library", "client-reporting", "client", "reporting", "api"]
18-
# TODO(cookiecutter): Remove and add more classifiers if appropriate
1918
classifiers = [
2019
"Development Status :: 3 - Alpha",
2120
"Intended Audience :: Developers",
@@ -26,7 +25,6 @@ classifiers = [
2625
"Typing :: Typed",
2726
]
2827
requires-python = ">= 3.11, < 4"
29-
# TODO(cookiecutter): Remove and add more dependencies if appropriate
3028
dependencies = [
3129
"typing-extensions >= 4.5.0, < 5",
3230
"frequenz-api-reporting >= 0.1.1, < 0.2",
@@ -38,7 +36,6 @@ dynamic = ["version"]
3836
name = "Frequenz Energy-as-a-Service GmbH"
3937
4038

41-
# TODO(cookiecutter): Remove and add more optional dependencies if appropriate
4239
[project.optional-dependencies]
4340
dev-flake8 = [
4441
"flake8 == 6.1.0",

0 commit comments

Comments
 (0)