-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Bernát Gábor <[email protected]>
- Loading branch information
1 parent
95a57f2
commit 1cf5f36
Showing
29 changed files
with
341 additions
and
342 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
MD013: | ||
code_blocks: false | ||
headers: false | ||
line_length: 120 | ||
tables: false | ||
|
||
MD046: | ||
style: fenced | ||
no-emphasis-as-header: false | ||
first-line-h1: false |
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,64 +1,81 @@ | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.3.0 | ||
hooks: | ||
- id: check-ast | ||
- id: check-builtin-literals | ||
- id: check-docstring-first | ||
- id: check-merge-conflict | ||
- id: check-yaml | ||
- id: check-toml | ||
- id: debug-statements | ||
- id: end-of-file-fixer | ||
- id: trailing-whitespace | ||
- repo: https://github.com/asottile/pyupgrade | ||
rev: v3.2.1 | ||
hooks: | ||
- id: pyupgrade | ||
args: ["--py36-plus"] | ||
exclude: "^(src/virtualenv/create/via_global_ref/_virtualenv.py|src/virtualenv/create/via_global_ref/builtin/python2/site.py|src/virtualenv/discovery/py_info.py|tasks/__main__zipapp.py)$" | ||
- repo: https://github.com/asottile/pyupgrade | ||
rev: v2.38.4 | ||
hooks: | ||
- id: pyupgrade | ||
files: "^(src/virtualenv/create/via_global_ref/_virtualenv.py|src/virtualenv/create/via_global_ref/builtin/python2/site.py|src/virtualenv/discovery/py_info.py|tasks/__main__zipapp.py)$" | ||
- repo: https://github.com/PyCQA/isort | ||
rev: 5.10.1 | ||
hooks: | ||
- id: isort | ||
- repo: https://github.com/psf/black | ||
rev: 22.10.0 | ||
hooks: | ||
- id: black | ||
args: [--safe] | ||
- repo: https://github.com/asottile/blacken-docs | ||
rev: v1.12.1 | ||
hooks: | ||
- id: blacken-docs | ||
additional_dependencies: [black==22.10] | ||
- repo: https://github.com/pre-commit/pygrep-hooks | ||
rev: v1.9.0 | ||
hooks: | ||
- id: rst-backticks | ||
- repo: https://github.com/tox-dev/tox-ini-fmt | ||
rev: "0.5.2" | ||
hooks: | ||
- id: tox-ini-fmt | ||
args: ["-p", "fix_lint"] | ||
- repo: https://github.com/asottile/setup-cfg-fmt | ||
rev: v2.2.0 | ||
hooks: | ||
- id: setup-cfg-fmt | ||
args: [--min-py3-version, "3.6 ", "--max-py-version", "3.10"] | ||
- repo: https://github.com/PyCQA/flake8 | ||
rev: "5.0.4" | ||
hooks: | ||
- id: flake8 | ||
additional_dependencies: | ||
- flake8-bugbear==22.10.27 | ||
- flake8-comprehensions==3.10.1 | ||
- flake8-pytest-style==1.6 | ||
- flake8-spellcheck==0.28 | ||
- flake8-unused-arguments==0.0.12 | ||
- flake8-noqa==1.3 | ||
- pep8-naming==0.13.2 | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.4.0 | ||
hooks: | ||
- id: check-ast | ||
- id: check-builtin-literals | ||
- id: check-docstring-first | ||
- id: check-merge-conflict | ||
- id: check-yaml | ||
- id: check-toml | ||
- id: debug-statements | ||
- id: end-of-file-fixer | ||
- id: trailing-whitespace | ||
- repo: https://github.com/asottile/add-trailing-comma | ||
rev: v2.4.0 | ||
hooks: | ||
- id: add-trailing-comma | ||
args: [--py36-plus] | ||
- repo: https://github.com/asottile/pyupgrade | ||
rev: v3.2.1 | ||
hooks: | ||
- id: pyupgrade | ||
args: ["--py36-plus"] | ||
exclude: "^(src/virtualenv/create/via_global_ref/_virtualenv.py|src/virtualenv/create/via_global_ref/builtin/python2/site.py|src/virtualenv/discovery/py_info.py|tasks/__main__zipapp.py)$" | ||
- repo: https://github.com/asottile/pyupgrade | ||
rev: v2.38.4 | ||
hooks: | ||
- id: pyupgrade | ||
files: "^(src/virtualenv/create/via_global_ref/_virtualenv.py|src/virtualenv/create/via_global_ref/builtin/python2/site.py|src/virtualenv/discovery/py_info.py|tasks/__main__zipapp.py)$" | ||
- repo: https://github.com/PyCQA/isort | ||
rev: 5.11.4 | ||
hooks: | ||
- id: isort | ||
- repo: https://github.com/psf/black | ||
rev: 22.12.0 | ||
hooks: | ||
- id: black | ||
args: [--safe] | ||
- repo: https://github.com/asottile/blacken-docs | ||
rev: v1.12.1 | ||
hooks: | ||
- id: blacken-docs | ||
additional_dependencies: [black==22.12] | ||
- repo: https://github.com/pre-commit/pygrep-hooks | ||
rev: v1.9.0 | ||
hooks: | ||
- id: rst-backticks | ||
- repo: https://github.com/tox-dev/tox-ini-fmt | ||
rev: "0.5.2" | ||
hooks: | ||
- id: tox-ini-fmt | ||
args: ["-p", "fix"] | ||
- repo: https://github.com/PyCQA/flake8 | ||
rev: 6.0.0 | ||
hooks: | ||
- id: flake8 | ||
additional_dependencies: | ||
- flake8-bugbear==22.12.6 | ||
- flake8-comprehensions==3.10.1 | ||
- flake8-pytest-style==1.6 | ||
- flake8-spellcheck==0.28 | ||
- flake8-unused-arguments==0.0.12 | ||
- flake8-noqa==1.3 | ||
- pep8-naming==0.13.3 | ||
- flake8-pyproject==1.2.2 | ||
- repo: https://github.com/pre-commit/mirrors-prettier | ||
rev: "v2.7.1" | ||
hooks: | ||
- id: prettier | ||
additional_dependencies: | ||
- [email protected] | ||
- "@prettier/[email protected]" | ||
args: ["--print-width=120", "--prose-wrap=always"] | ||
- repo: https://github.com/igorshubovych/markdownlint-cli | ||
rev: v0.32.2 | ||
hooks: | ||
- id: markdownlint | ||
- repo: meta | ||
hooks: | ||
- id: check-hooks-apply | ||
- id: check-useless-excludes |
This file was deleted.
Oops, something went wrong.
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,64 +1,65 @@ | ||
.wy-nav-content { | ||
padding: 1em; | ||
padding: 1em; | ||
} | ||
|
||
#virtualenv img { | ||
margin-bottom: 6px; | ||
margin-bottom: 6px; | ||
} | ||
|
||
/* Allow table content to wrap around */ | ||
.wy-table-responsive table th, .wy-table-responsive table td { | ||
/* !important because RTD has conflicting stylesheets */ | ||
white-space: normal !important; | ||
padding: 8px 6px !important; | ||
.wy-table-responsive table th, | ||
.wy-table-responsive table td { | ||
/* !important because RTD has conflicting stylesheets */ | ||
white-space: normal !important; | ||
padding: 8px 6px !important; | ||
} | ||
|
||
.wy-table-responsive table { | ||
width: 100%; | ||
margin-left: 0 !important; | ||
width: 100%; | ||
margin-left: 0 !important; | ||
} | ||
|
||
.rst-content table.docutils td ol { | ||
margin-bottom: 0; | ||
margin-bottom: 0; | ||
} | ||
|
||
.rst-content table.docutils td ul { | ||
margin-bottom: 0; | ||
margin-bottom: 0; | ||
} | ||
|
||
.rst-content table.docutils td p { | ||
margin-bottom: 0; | ||
margin-bottom: 0; | ||
} | ||
|
||
div[class*="highlight-"] { | ||
margin-bottom: 12px; | ||
margin-bottom: 12px; | ||
} | ||
|
||
/* Tweak whitespace on the release history page */ | ||
#release-history p { | ||
margin-bottom: 0; | ||
margin-top: 0; | ||
margin-bottom: 0; | ||
margin-top: 0; | ||
} | ||
|
||
#release-history h3 { | ||
margin-bottom: 6px; | ||
margin-bottom: 6px; | ||
} | ||
|
||
#release-history ul { | ||
margin-bottom: 12px; | ||
margin-bottom: 12px; | ||
} | ||
|
||
#release-history ul ul { | ||
margin-bottom: 0; | ||
margin-top: 0; | ||
margin-bottom: 0; | ||
margin-top: 0; | ||
} | ||
|
||
#release-history h2 { | ||
margin-bottom: 12px; | ||
margin-bottom: 12px; | ||
} | ||
|
||
/* Reduce whitespace on the inline-code snippets and add softer corners */ | ||
.rst-content code { | ||
padding: 2px 3px; | ||
border-radius: 3px; | ||
padding: 2px 3px; | ||
border-radius: 3px; | ||
} |
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 |
---|---|---|
|
@@ -83,7 +83,7 @@ run: | |
|
||
.. code-block:: console | ||
tox -e fix_lint | ||
tox -e fix | ||
.. note:: | ||
|
||
|
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
Oops, something went wrong.