Merge pull request #236 from pre-commit/remove_old_files

Remove example_*, the docs do a better job.
This commit is contained in:
Anthony Sottile
2015-05-25 16:00:26 -07:00
4 changed files with 0 additions and 35 deletions

View File

@@ -1,27 +0,0 @@
# Hooks are set up as follows
# - id: hook_id
# name: 'Readable name'
# entry: my_hook_executable
#
# # Optional
# description: 'Longer description of the hook'
#
# # Optional, for now 'python[optional version]', 'ruby #.#.#', 'node'
# language: 'python'
#
# # Optional, defaults to zero
# expected_return_value: 0
- id: my_hook
name: My Simple Hook
description: This is my simple hook that does blah
entry: my-simple-hook
language: python
files: \.py$
- id: my_grep_based_hook
name: My Bash Based Hook
description: This is a hook that uses grep to validate some stuff
entry: ./my_grep_based_hook.sh
language: script
files: \.(py|sh)$
expected_return_value: 1

View File

@@ -1,6 +0,0 @@
- repo: git@github.com:pre-commit/pre-commit-hooks
sha: cd74dc150c142c3be70b24eaf0b02cae9d235f37
hooks:
- id: pyflakes
- id: jslint
- id: trim_trailing_whitespace

View File

@@ -15,7 +15,6 @@ from testing.util import is_valid_according_to_schema
@pytest.mark.parametrize(
('input', 'expected_output'),
(
(['example_pre-commit-config.yaml'], 0),
(['.pre-commit-config.yaml'], 0),
(['non_existent_file.yaml'], 1),
([get_resource_path('valid_yaml_but_invalid_config.yaml')], 1),

View File

@@ -13,7 +13,6 @@ from testing.util import is_valid_according_to_schema
@pytest.mark.parametrize(
('input', 'expected_output'),
(
(['example_hooks.yaml'], 0),
(['hooks.yaml'], 0),
(['non_existent_file.yaml'], 1),
([get_resource_path('valid_yaml_but_invalid_manifest.yaml')], 1),