-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add prettier to the pre-commit configuration
Also apply prettier
- Loading branch information
1 parent
3420964
commit b6ce99b
Showing
12 changed files
with
132 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
Please read the [contribute doc](https://github.com/PyCQA/pylint/blob/master/doc/development_guide/contribute.rst). | ||
Please read the | ||
[contribute doc](https://github.com/PyCQA/pylint/blob/master/doc/development_guide/contribute.rst). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
--- | ||
name: Support question | ||
about: Questions about pylint that are not covered in the documentation (https://pylint.pycqa.org/en/latest/) | ||
|
||
about: | ||
Questions about pylint that are not covered in the documentation | ||
(https://pylint.pycqa.org/en/latest/) | ||
--- | ||
|
||
## Question |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,6 @@ env: | |
DEFAULT_PYTHON: 3.6 | ||
PRE_COMMIT_CACHE: ~/.cache/pre-commit | ||
|
||
|
||
jobs: | ||
prepare-base: | ||
name: Prepare base dependencies | ||
|
@@ -88,7 +87,8 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
path: venv | ||
key: ${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{ | ||
key: | ||
${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{ | ||
needs.prepare-base.outputs.python-key }} | ||
- name: Fail job if Python cache restore failed | ||
if: steps.cache-venv.outputs.cache-hit != 'true' | ||
|
@@ -129,7 +129,8 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
path: venv | ||
key: ${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{ | ||
key: | ||
${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{ | ||
needs.prepare-base.outputs.python-key }} | ||
- name: Fail job if Python cache restore failed | ||
if: steps.cache-venv.outputs.cache-hit != 'true' | ||
|
@@ -202,7 +203,8 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
path: venv | ||
key: ${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{ | ||
key: | ||
${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{ | ||
needs.prepare-tests-linux.outputs.python-key }} | ||
- name: Fail job if Python cache restore failed | ||
if: steps.cache-venv.outputs.cache-hit != 'true' | ||
|
@@ -241,7 +243,8 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
path: venv | ||
key: ${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{ | ||
key: | ||
${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{ | ||
needs.prepare-tests-linux.outputs.python-key }} | ||
- name: Fail job if Python cache restore failed | ||
if: steps.cache-venv.outputs.cache-hit != 'true' | ||
|
@@ -283,7 +286,8 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
path: venv | ||
key: ${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{ | ||
key: | ||
${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{ | ||
needs.prepare-tests-linux.outputs.python-key }} | ||
- name: Fail job if Python cache restore failed | ||
if: steps.cache-venv.outputs.cache-hit != 'true' | ||
|
@@ -307,11 +311,11 @@ jobs: | |
- name: Upload benchmark artifact | ||
uses: actions/[email protected] | ||
with: | ||
name: benchmark-${{ runner.os }}-${{ matrix.python-version }}_${{ | ||
name: | ||
benchmark-${{ runner.os }}-${{ matrix.python-version }}_${{ | ||
steps.artifact-name-suffix.outputs.datetime }} | ||
path: .benchmarks/ | ||
|
||
|
||
prepare-tests-windows: | ||
name: Prepare tests for Python ${{ matrix.python-version }} (Windows) | ||
runs-on: windows-latest | ||
|
@@ -377,7 +381,8 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
path: venv | ||
key: ${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{ | ||
key: | ||
${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{ | ||
needs.prepare-tests-windows.outputs.python-key }} | ||
- name: Fail job if Python cache restore failed | ||
if: steps.cache-venv.outputs.cache-hit != 'true' | ||
|
@@ -389,7 +394,6 @@ jobs: | |
. venv\\Scripts\\activate | ||
pytest --benchmark-disable tests/ | ||
prepare-tests-pypy: | ||
name: Prepare tests for Python ${{ matrix.python-version }} | ||
runs-on: ubuntu-latest | ||
|
@@ -451,7 +455,8 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
path: venv | ||
key: ${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{ | ||
key: | ||
${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{ | ||
needs.prepare-tests-pypy.outputs.python-key }} | ||
- name: Fail job if Python cache restore failed | ||
if: steps.cache-venv.outputs.cache-hit != 'true' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
- id: pylint | ||
name: pylint | ||
entry: pylint | ||
language: python | ||
types: [python] | ||
require_serial: true | ||
- id: pylint | ||
name: pylint | ||
entry: pylint | ||
language: python | ||
types: [python] | ||
require_serial: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
version: '{branch}-{build}' | ||
version: "{branch}-{build}" | ||
build: off | ||
|
||
test_script: | ||
|
Oops, something went wrong.