Commit a6d86699 authored by Yngve Høiseth's avatar Yngve Høiseth Committed by Łukasz Langa
Browse files

Automatic markdown and YAML formatting with Prettier (#874)

parent ba2733dc
Loading
Loading
Loading
Loading
+3 −3
Changes for .appveyor.yml: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -11,16 +11,16 @@ test_script:

after_test:
  - C:\Python36\python.exe -m pip install pyinstaller
  - "%CMD_IN_ENV% C:\\Python36\\python.exe -m PyInstaller --clean -F --add-data blib2to3/;blib2to3 black.py"
  - "%CMD_IN_ENV% C:\\Python36\\python.exe -m PyInstaller --clean -F --add-data
    blib2to3/;blib2to3 black.py"

artifacts:
  - path: dist/black.exe

deploy:
  provider: GitHub
  description: ''
  description: ""
  auth_token:
    secure: uplI9CJ2dTGcEBCbZuIn+Qb4rC38hOoRSH9lcwuGCr5g9fSnhK1MZdNT6Cjf/mFL
  on:
    APPVEYOR_REPO_TAG: true
+7 −9
Changes for .github/CODE_OF_CONDUCT.md: 7 added lines, 9 removed lines.
Original line number Diff line number Diff line
# Treat each other well

Everyone participating in the *Black* project, and in particular in the
issue tracker, pull requests, and social media activity, is expected
to treat other people with respect and more generally to follow the
guidelines articulated in the [Python Community Code of
Conduct](https://www.python.org/psf/codeofconduct/).
Everyone participating in the _Black_ project, and in particular in the issue tracker,
pull requests, and social media activity, is expected to treat other people with respect
and more generally to follow the guidelines articulated in the
[Python Community Code of Conduct](https://www.python.org/psf/codeofconduct/).

At the same time, humor is encouraged.  In fact, basic familiarity with
Monty Python's Flying Circus is expected.  We are not savages.
At the same time, humor is encouraged. In fact, basic familiarity with Monty Python's
Flying Circus is expected. We are not savages.

And if you *really* need to slap somebody, do it with a fish while
dancing.
And if you _really_ need to slap somebody, do it with a fish while dancing.
+20 −22
Changes for .github/ISSUE_TEMPLATE/bug_report.md: 20 added lines, 22 removed lines.
Original line number Diff line number Diff line
---
name: Bug report
about: Create a report to help us improve
title: ''
title: ""
labels: bug
assignees: ''

assignees: ""
---

**Describe the bug**
A clear and concise description of what the bug is.
**Describe the bug** A clear and concise description of what the bug is.

**To Reproduce** Steps to reproduce the behavior:

**To Reproduce**
Steps to reproduce the behavior:
1. Take this file '...'
2. Run *Black* on it with these arguments '....'
2. Run _Black_ on it with these arguments '....'
3. See error

**Expected behavior**
A clear and concise description of what you expected to happen.
**Expected behavior** A clear and concise description of what you expected to happen.

**Environment (please complete the following information):**

- Version: [e.g. master]
- OS and Python version: [e.g. Linux/Python 3.7.4rc1]

**Does this bug also happen on master?**
To answer this, you have two options:
1. Use the online formatter at https://black.now.sh/?version=master, which will use the latest master branch.
2. Or run *Black* on your machine:
    * create a new virtualenv (make sure it's the same Python version);
    * clone this repository;
    * run `pip install -e .`;
    * make sure it's sane by running `python setup.py test`; and
    * run `black` like you did last time.

**Additional context**
Add any other context about the problem here.
**Does this bug also happen on master?** To answer this, you have two options:

1. Use the online formatter at https://black.now.sh/?version=master, which will use the
   latest master branch.
2. Or run _Black_ on your machine:
   - create a new virtualenv (make sure it's the same Python version);
   - clone this repository;
   - run `pip install -e .`;
   - make sure it's sane by running `python setup.py test`; and
   - run `black` like you did last time.

**Additional context** Add any other context about the problem here.
+10 −11
Changes for .github/ISSUE_TEMPLATE/feature_request.md: 10 added lines, 11 removed lines.
Original line number Diff line number Diff line
---
name: Feature request
about: Suggest an idea for this project
title: ''
title: ""
labels: enhancement
assignees: ''

assignees: ""
---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Is your feature request related to a problem? Please describe.** A clear and concise
description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe the solution you'd like** A clear and concise description of what you want to
happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Describe alternatives you've considered** A clear and concise description of any
alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
 No newline at end of file
**Additional context** Add any other context or screenshots about the feature request
here.
+10 −11
Changes for .github/ISSUE_TEMPLATE/style_issue.md: 10 added lines, 11 removed lines.
Original line number Diff line number Diff line
---
name: Style issue
about: Help us improve the Black style
title: ''
title: ""
labels: design
assignees: ''

assignees: ""
---

**Describe the style change**
A clear and concise description of how the style can be improved.
**Describe the style change** A clear and concise description of how the style can be
improved.

**Examples in the current _Black_ style** Think of some short code snippets that show
how the current _Black_ style is not great:

**Examples in the current *Black* style**
Think of some short code snippets that show how the current *Black* style is not great:
```
def f():
    "Make sure this code is blackened"""
    pass
```

**Desired style**
How do you think *Black* should format the above snippets:
**Desired style** How do you think _Black_ should format the above snippets:

```
def f(
    ):
    pass
```

**Additional context**
Add any other context about the problem here.
**Additional context** Add any other context about the problem here.
Loading