Skip to content

Commit 029a847

Browse files
committed
Updated files with 'repo_helper'.
1 parent 83d132e commit 029a847

27 files changed

+291
-209
lines changed

.dependabot/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This file is managed by `repo_helper`. Don't edit it directly
1+
# This file is managed by 'repo_helper'. Don't edit it directly.
22
---
33

44
version: 1

.github/auto_assign.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This file is managed by `repo_helper`. Don't edit it directly
1+
# This file is managed by 'repo_helper'. Don't edit it directly.
22
---
33

44
addReviewers: true

.github/stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This file is managed by `repo_helper`. Don't edit it directly
1+
# This file is managed by 'repo_helper'. Don't edit it directly.
22
# Configuration for probot-stale - https://github.com/probot/stale
33
---
44

.github/workflows/docs_test_action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# This file is managed by 'repo_helper'. Don't edit it directly.
12
---
23
name: "Docs Check"
34
on:

.github/workflows/octocheese.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This file is managed by `repo_helper`. Don't edit it directly
1+
# This file is managed by 'repo_helper'. Don't edit it directly.
22
---
33

44
name: "GitHub Releases"

.github/workflows/python_ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This file is managed by `repo_helper`. Don't edit it directly
1+
# This file is managed by 'repo_helper'. Don't edit it directly.
22
---
33
name: Windows Tests
44

@@ -33,7 +33,7 @@ jobs:
3333
python -VV
3434
python -m site
3535
python -m pip install --upgrade pip setuptools wheel
36-
python -m pip install --upgrade tox tox-gh-actions
36+
python -m pip install --upgrade tox tox-gh-actions virtualenv
3737
3838
- name: "Run Tests for Python ${{ matrix.python-version }}"
3939
run: "python -m tox"

.github/workflows/python_ci_macos.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This file is managed by `repo_helper`. Don't edit it directly
1+
# This file is managed by 'repo_helper'. Don't edit it directly.
22
---
33
name: macOS Tests
44

@@ -33,7 +33,7 @@ jobs:
3333
python -VV
3434
python -m site
3535
python -m pip install --upgrade pip setuptools wheel
36-
python -m pip install --upgrade tox tox-gh-actions
36+
python -m pip install --upgrade tox tox-gh-actions virtualenv
3737
3838
- name: "Run Tests for Python ${{ matrix.python-version }}"
3939
run: "python -m tox"

.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
# This file is managed by `repo_helper`. Don't edit it directly
1+
# This file is managed by 'repo_helper'. Don't edit it directly.
22
__pycache__/
33
*.py[cod]
44
*$py.class
5-
*.so.Python
5+
*.so
6+
.Python
67
build/
78
develop-eggs/
89
dist/

.isort.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
[settings]
33
line_length = 115
44
force_to_top = True
5-
indent = Tab
6-
multi_line_output = 3
5+
indent = " "
6+
multi_line_output = 8
77
import_heading_stdlib = stdlib
88
import_heading_thirdparty = 3rd party
99
import_heading_firstparty = this package

.pre-commit-config.yaml

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,31 @@
1-
# This file is managed by `repo_helper`. Don't edit it directly
1+
# This file is managed by 'repo_helper'. Don't edit it directly.
22
---
33

44
repos:
55
- repo: https://github.com/pre-commit/pre-commit-hooks
66
rev: v2.4.0
77
hooks:
88
- id: check-added-large-files
9+
- id: check-ast
910
- id: check-byte-order-marker
1011
- id: check-case-conflict
1112
- id: check-docstring-first
1213
- id: check-executables-have-shebangs
1314
- id: check-json
15+
- id: check-merge-conflict
1416
- id: check-symlinks
17+
- id: check-toml
1518
- id: check-vcs-permalinks
1619
- id: check-yaml
1720
- id: detect-private-key
1821
- id: end-of-file-fixer
19-
- id: requirements-txt-fixer
2022
- id: trailing-whitespace
23+
- id: mixed-line-ending
24+
25+
- repo: https://github.com/domdfcoding/pre-commit-hooks
26+
rev: v0.0.1
27+
hooks:
28+
- id: requirements-txt-sorter
2129

2230
- repo: https://github.com/pre-commit/pygrep-hooks
2331
rev: v1.5.1
@@ -31,12 +39,18 @@ repos:
3139
- id: pyupgrade
3240
args: [--py36-plus]
3341

42+
- repo: https://github.com/timothycrosley/isort
43+
rev: 5.1.4
44+
hooks:
45+
- id: isort
46+
exclude: ^(doc-source/conf|__pkginfo__|make_conda_recipe|setup)\.py$
47+
3448
- repo: https://github.com/pre-commit/mirrors-yapf
3549
rev: v0.30.0
3650
hooks:
3751
- id: yapf
3852
exclude: ^(doc-source/conf|__pkginfo__|make_conda_recipe|setup)\.py$
39-
53+
args: ["--in-place"]
4054

4155
- repo: https://github.com/Lucas-C/pre-commit-hooks
4256
rev: v1.1.7

0 commit comments

Comments
 (0)