Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 22ee10d

Browse files
committed
Update .pre-commit-config.yaml
1 parent 3cac948 commit 22ee10d

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

.pre-commit-config.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
- repo: [email protected]:pre-commit/pre-commit-hooks
2-
sha: 7c003425b35fff516c0ee88f4040c8c208d474bd
2+
sha: 6343700aa063fe30acc319d2dc84353a35a3d6d0
33
hooks:
44
- id: trailing-whitespace
55
- id: end-of-file-fixer
6+
- id: autopep8-wrapper
7+
args: ['-i', '--ignore=E265,E309,E501', '-v']
8+
- id: check-json
69
- id: check-yaml
710
- id: debug-statements
811
- id: name-tests-test

pre_commit/prefixed_command_runner.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ class PrefixedCommandRunner(object):
4242
4343
will run ['/tmp/foo/foo.sh', 'bar', 'baz']
4444
"""
45+
4546
def __init__(
4647
self,
4748
prefix_dir,

testing/fixtures.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def make_config_from_repo(repo_path, sha=None, hooks=None, check=True):
5858
def write_config(directory, config):
5959
assert type(config) is OrderedDict
6060
with io.open(os.path.join(directory, C.CONFIG_FILE), 'w') as config_file:
61-
config_file.write(ordered_dump([config], **C.YAML_DUMP_KWARGS))
61+
config_file.write(ordered_dump([config], **C.YAML_DUMP_KWARGS))
6262

6363

6464
def make_consuming_repo(tmpdir_factory, repo_source):

0 commit comments

Comments
 (0)