From dbc60c9b568e973a62395af2371879946fa03157 Mon Sep 17 00:00:00 2001 From: Kenneth Schackart Date: Tue, 6 Jun 2023 18:46:26 -0700 Subject: [PATCH 1/6] Add CITATION.cff file --- CITATION.cff | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 CITATION.cff diff --git a/CITATION.cff b/CITATION.cff new file mode 100644 index 00000000000..12d964c0adb --- /dev/null +++ b/CITATION.cff @@ -0,0 +1,26 @@ +cff-version: 1.2.0 +title: 'Black: The uncompromising Python code formatter' +message: >- + If you use this software, please cite it using the + metadata from this file. +type: software +authors: + - family-names: Langa + given-names: Łukasz +repository-code: 'https://github.com/psf/black' +url: 'https://black.readthedocs.io/en/stable/' +abstract: >- + Black is the uncompromising Python code formatter. By + using it, you agree to cede control over minutiae of + hand-formatting. In return, Black gives you speed, + determinism, and freedom from pycodestyle nagging about + formatting. You will save time and mental energy for more + important matters. + + Blackened code looks the same regardless of the project + you're reading. Formatting becomes transparent after a + while and you can focus on the content instead. + + Black makes code review faster by producing the smallest + diffs possible. +license: MIT From c2d7b1399a61f6a6590651711ff04660d9362f85 Mon Sep 17 00:00:00 2001 From: Kenneth Schackart Date: Tue, 6 Jun 2023 19:37:02 -0700 Subject: [PATCH 2/6] Add CITATION.cff to changelog --- CHANGES.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGES.md b/CHANGES.md index fb3dea8c348..43ad1ba67cc 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -57,6 +57,8 @@ ### Documentation +- Add a CITATION.cff file to the root of the repository, containing metadata on how to cite this software (#3723) + From de885957a33b33328746a4c5fa2643cdf9778e21 Mon Sep 17 00:00:00 2001 From: Kenneth Schackart Date: Tue, 6 Jun 2023 19:37:27 -0700 Subject: [PATCH 3/6] Update authorship in CITATION --- CITATION.cff | 1 + 1 file changed, 1 insertion(+) diff --git a/CITATION.cff b/CITATION.cff index 12d964c0adb..f54c28ea771 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -7,6 +7,7 @@ type: software authors: - family-names: Langa given-names: Łukasz + - family-name: contributors to Black repository-code: 'https://github.com/psf/black' url: 'https://black.readthedocs.io/en/stable/' abstract: >- From cc066969f336a1cceafff8c3b40a459621190d1f Mon Sep 17 00:00:00 2001 From: Kenneth Schackart Date: Tue, 6 Jun 2023 19:41:13 -0700 Subject: [PATCH 4/6] Add quotes around contributors to render correctly --- CITATION.cff | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CITATION.cff b/CITATION.cff index f54c28ea771..97ffcf8f346 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -7,7 +7,7 @@ type: software authors: - family-names: Langa given-names: Łukasz - - family-name: contributors to Black + - name: "contributors to Black" repository-code: 'https://github.com/psf/black' url: 'https://black.readthedocs.io/en/stable/' abstract: >- From 98e7688a8b244a1aa43d0231209f830bb8171669 Mon Sep 17 00:00:00 2001 From: Kenneth Schackart Date: Mon, 12 Jun 2023 10:27:27 -0700 Subject: [PATCH 5/6] Update CHANGES.md to pass linting --- CHANGES.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 43ad1ba67cc..1aea7fe9581 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -57,7 +57,8 @@ ### Documentation -- Add a CITATION.cff file to the root of the repository, containing metadata on how to cite this software (#3723) +- Add a CITATION.cff file to the root of the repository, containing metadata on how to + cite this software (#3723) From 0c31211a0a0b520ba7995ed78452c2a8453f44fd Mon Sep 17 00:00:00 2001 From: Kenneth Schackart Date: Mon, 12 Jun 2023 10:28:23 -0700 Subject: [PATCH 6/6] update CITATION.cff to pass linting --- CITATION.cff | 27 +++++++++++---------------- 1 file changed, 11 insertions(+), 16 deletions(-) diff --git a/CITATION.cff b/CITATION.cff index 97ffcf8f346..ddf64f616ff 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -1,27 +1,22 @@ cff-version: 1.2.0 -title: 'Black: The uncompromising Python code formatter' +title: "Black: The uncompromising Python code formatter" message: >- - If you use this software, please cite it using the - metadata from this file. + If you use this software, please cite it using the metadata from this file. type: software authors: - family-names: Langa given-names: Łukasz - name: "contributors to Black" -repository-code: 'https://github.com/psf/black' -url: 'https://black.readthedocs.io/en/stable/' +repository-code: "https://github.com/psf/black" +url: "https://black.readthedocs.io/en/stable/" abstract: >- - Black is the uncompromising Python code formatter. By - using it, you agree to cede control over minutiae of - hand-formatting. In return, Black gives you speed, - determinism, and freedom from pycodestyle nagging about - formatting. You will save time and mental energy for more - important matters. + Black is the uncompromising Python code formatter. By using it, you agree to cede + control over minutiae ofhand-formatting. In return, Black gives you speed, + determinism, and freedom from pycodestyle nagging about formatting. You will save time + and mental energy for more important matters. - Blackened code looks the same regardless of the project - you're reading. Formatting becomes transparent after a - while and you can focus on the content instead. + Blackened code looks the same regardless of the project you're reading. Formatting + becomes transparent after a while and you can focus on the content instead. - Black makes code review faster by producing the smallest - diffs possible. + Black makes code review faster by producing the smallest diffs possible. license: MIT