|
41 | 41 | name: Generate pip dependency from conda
|
42 | 42 | description: This hook checks if the conda environment.yml and requirements-dev.txt are equal
|
43 | 43 | language: python
|
44 |
| - entry: python -m scripts.generate_pip_deps_from_conda |
| 44 | + entry: python scripts/generate_pip_deps_from_conda.py |
45 | 45 | files: ^(environment.yml|requirements-dev.txt)$
|
46 | 46 | pass_filenames: false
|
47 | 47 | additional_dependencies: [pyyaml]
|
@@ -102,23 +102,23 @@ repos:
|
102 | 102 | - id: unwanted-patterns-strings-to-concatenate
|
103 | 103 | name: Check for use of not concatenated strings
|
104 | 104 | language: python
|
105 |
| - entry: ./scripts/validate_unwanted_patterns.py --validation-type="strings_to_concatenate" |
| 105 | + entry: python scripts/validate_unwanted_patterns.py --validation-type="strings_to_concatenate" |
106 | 106 | files: \.(py|pyx|pxd|pxi)$
|
107 | 107 | - id: unwanted-patterns-strings-with-wrong-placed-whitespace
|
108 | 108 | name: Check for strings with wrong placed spaces
|
109 | 109 | language: python
|
110 |
| - entry: ./scripts/validate_unwanted_patterns.py --validation-type="strings_with_wrong_placed_whitespace" |
| 110 | + entry: python scripts/validate_unwanted_patterns.py --validation-type="strings_with_wrong_placed_whitespace" |
111 | 111 | files: \.(py|pyx|pxd|pxi)$
|
112 | 112 | - id: unwanted-patterns-private-import-across-module
|
113 | 113 | name: Check for import of private attributes across modules
|
114 | 114 | language: python
|
115 |
| - entry: ./scripts/validate_unwanted_patterns.py --validation-type="private_import_across_module" |
| 115 | + entry: python scripts/validate_unwanted_patterns.py --validation-type="private_import_across_module" |
116 | 116 | types: [python]
|
117 | 117 | exclude: ^(asv_bench|pandas/_vendored|pandas/tests|doc)/
|
118 | 118 | - id: unwanted-patterns-private-function-across-module
|
119 | 119 | name: Check for use of private functions across modules
|
120 | 120 | language: python
|
121 |
| - entry: ./scripts/validate_unwanted_patterns.py --validation-type="private_function_across_module" |
| 121 | + entry: python scripts/validate_unwanted_patterns.py --validation-type="private_function_across_module" |
122 | 122 | types: [python]
|
123 | 123 | exclude: ^(asv_bench|pandas/_vendored|pandas/tests|doc)/
|
124 | 124 | - repo: https://github.com/asottile/yesqa
|
|
0 commit comments