From c4c7766720cbd1bc1b49729d846c614ed1f4adb9 Mon Sep 17 00:00:00 2001 From: Hans-Martin von Gaudecker Date: Thu, 26 Jan 2023 14:01:17 +0100 Subject: [PATCH 1/2] https link. --- {{cookiecutter.project_slug}}/LICENSE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/{{cookiecutter.project_slug}}/LICENSE b/{{cookiecutter.project_slug}}/LICENSE index 01e1d4c..f1e2687 100644 --- a/{{cookiecutter.project_slug}}/LICENSE +++ b/{{cookiecutter.project_slug}}/LICENSE @@ -6,7 +6,7 @@ Copyright (c) {% now 'local', '%Y' %}, {{ cookiecutter.author }} Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 +https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY From db7534ea968b5e25da6775d64f2dc92386a77c19 Mon Sep 17 00:00:00 2001 From: Hans-Martin von Gaudecker Date: Thu, 26 Jan 2023 14:03:17 +0100 Subject: [PATCH 2/2] Assume codecov to be desired whenever GHA are desired. --- cookiecutter.json | 1 - {{cookiecutter.project_slug}}/README.md | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/cookiecutter.json b/cookiecutter.json index 6b7ff0a..761bb8e 100644 --- a/cookiecutter.json +++ b/cookiecutter.json @@ -11,7 +11,6 @@ "add_github_actions": ["yes", "no"], "add_mypy": ["yes", "no"], "add_readthedocs": ["yes", "no"], - "add_codecov": ["yes", "no"], "open_source_license": [ "MIT", "BSD", diff --git a/{{cookiecutter.project_slug}}/README.md b/{{cookiecutter.project_slug}}/README.md index 9dfde3a..9bcbae0 100644 --- a/{{cookiecutter.project_slug}}/README.md +++ b/{{cookiecutter.project_slug}}/README.md @@ -8,8 +8,7 @@ cookiecutter.project_slug }}/actions?query=branch%3Amain) {% endif %} {% if cookiecutter.add_readthedocs == "yes" %}[![image](https://readthedocs.org/projects/{{ cookiecutter.project_slug | replace("_", "-") }}/badge/?version=stable)](https://{{ cookiecutter.project_slug | replace("_", "-") }}.readthedocs.io/en/stable/?badge=stable) -{% endif %} {% if cookiecutter.add_codecov == "yes" -%}[![image](https://codecov.io/gh/{{ cookiecutter.github_username }}/{{ +[![image](https://codecov.io/gh/{{ cookiecutter.github_username }}/{{ cookiecutter.project_slug }}/branch/main/graph/badge.svg)](https://codecov.io/gh/{{ cookiecutter.github_username }}/{{ cookiecutter.project_slug }}) {% endif %} [![pre-commit.ci status](https://results.pre-commit.ci/badge/github/{{