From 77b6ed1b70bd07f058bc551906bc880022847964 Mon Sep 17 00:00:00 2001 From: Zsolt Dollenstein Date: Mon, 22 Jul 2019 21:41:45 +0100 Subject: [PATCH] Hello github.com/psf! --- CONTRIBUTING.md | 2 +- README.md | 22 +++++++++++----------- black.py | 6 +++--- docs/conf.py | 2 +- docs/environment.yml | 2 +- pyproject.toml | 2 +- setup.py | 2 +- 7 files changed, 19 insertions(+), 19 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 42db88f..4b3acb3 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -11,7 +11,7 @@ In terms of inspiration, *Black* is about as configurable as *gofmt*. This is deliberate. Bug reports and fixes are always welcome! Please follow the [issue -template on GitHub](https://github.com/python/black/issues/new) for best +template on GitHub](https://github.com/psf/black/issues/new) for best results. Before you suggest a new feature or configuration knob, ask yourself why diff --git a/README.md b/README.md index dc93b37..ddb160d 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,14 @@ -![Black Logo](https://raw.githubusercontent.com/python/black/master/docs/_static/logo2-readme.png) +![Black Logo](https://raw.githubusercontent.com/psf/black/master/docs/_static/logo2-readme.png)

The Uncompromising Code Formatter

-Build Status +Build Status Documentation Status -Coverage Status -License: MIT +Coverage Status +License: MIT PyPI Downloads -Code style: black +Code style: black

> “Any color you like.” @@ -373,7 +373,7 @@ The main reason to standardize on a single form of quotes is aesthetics. Having one kind of quotes everywhere reduces reader distraction. It will also enable a future version of *Black* to merge consecutive string literals that ended up on the same line (see -[#26](https://github.com/python/black/issues/26) for details). +[#26](https://github.com/psf/black/issues/26) for details). Why settle on double quotes? They anticipate apostrophes in English text. They match the docstring standard described in [PEP 257](https://www.python.org/dev/peps/pep-0257/#what-is-a-docstring). @@ -739,7 +739,7 @@ or with [Vundle](https://github.com/VundleVim/Vundle.vim): Plugin 'python/black' ``` -or you can copy the plugin from [plugin/black.vim](https://github.com/python/black/tree/master/plugin/black.vim). +or you can copy the plugin from [plugin/black.vim](https://github.com/psf/black/tree/master/plugin/black.vim). Let me know if this requires any changes to work with Vim 8's builtin `packadd`, or Pathogen, and so on. @@ -900,7 +900,7 @@ installed](https://pre-commit.com/#install), add this to the `.pre-commit-config.yaml` in your repository: ```yaml repos: -- repo: https://github.com/python/black +- repo: https://github.com/psf/black rev: stable hooks: - id: black @@ -974,16 +974,16 @@ and [`pipenv`](https://docs.pipenv.org/): Use the badge in your project's README.md: ```markdown -[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/python/black) +[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) ``` Using the badge in README.rst: ``` .. image:: https://img.shields.io/badge/code%20style-black-000000.svg - :target: https://github.com/python/black + :target: https://github.com/psf/black ``` -Looks like this: [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/python/black) +Looks like this: [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) ## License diff --git a/black.py b/black.py index 952fb0c..180163c 100644 --- a/black.py +++ b/black.py @@ -3548,7 +3548,7 @@ def assert_equivalent(src: str, dst: str) -> None: log = dump_to_file("".join(traceback.format_tb(exc.__traceback__)), dst) raise AssertionError( f"INTERNAL ERROR: Black produced invalid code: {exc}. " - f"Please report a bug on https://github.com/python/black/issues. " + f"Please report a bug on https://github.com/psf/black/issues. " f"This invalid output might be helpful: {log}" ) from None @@ -3559,7 +3559,7 @@ def assert_equivalent(src: str, dst: str) -> None: raise AssertionError( f"INTERNAL ERROR: Black produced code that is not equivalent to " f"the source. " - f"Please report a bug on https://github.com/python/black/issues. " + f"Please report a bug on https://github.com/psf/black/issues. " f"This diff might be helpful: {log}" ) from None @@ -3575,7 +3575,7 @@ def assert_stable(src: str, dst: str, mode: FileMode) -> None: raise AssertionError( f"INTERNAL ERROR: Black produced different code on the second pass " f"of the formatter. " - f"Please report a bug on https://github.com/python/black/issues. " + f"Please report a bug on https://github.com/psf/black/issues. " f"This diff might be helpful: {log}" ) from None diff --git a/docs/conf.py b/docs/conf.py index 0ddca26..9eff25a 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -161,7 +161,7 @@ html_theme_options = { "show_related": False, "description": "“Any color you like.”", "github_button": True, - "github_user": "python", + "github_user": "psf", "github_repo": "black", "github_type": "star", "show_powered_by": True, diff --git a/docs/environment.yml b/docs/environment.yml index d098a9d..fe044fa 100644 --- a/docs/environment.yml +++ b/docs/environment.yml @@ -6,4 +6,4 @@ dependencies: - Sphinx==1.7.2 - pip: - recommonmark==0.4.0 - - git+https://git@github.com/python/black.git + - git+https://git@github.com/psf/black.git diff --git a/pyproject.toml b/pyproject.toml index 186bd0a..071a80e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -46,7 +46,7 @@ authors = [ "Mika Naylor ", "Zsolt Dollenstein ", ] -homepage = "https://github.com/python/black/" +homepage = "https://github.com/psf/black/" documentation = "https://black.readthedocs.io/en/stable/" license = "MIT" keywords = ["automation", "formatter", "yapf", "autopep8", "gofmt"] diff --git a/setup.py b/setup.py index c4ea969..3ad639b 100644 --- a/setup.py +++ b/setup.py @@ -34,7 +34,7 @@ setup( keywords="automation formatter yapf autopep8 pyfmt gofmt rustfmt", author="Łukasz Langa", author_email="lukasz@langa.pl", - url="https://github.com/python/black", + url="https://github.com/psf/black", license="MIT", py_modules=["black", "blackd"], packages=["blib2to3", "blib2to3.pgen2"], -- 2.39.2