pre_commit_mirror_maker_2 1.10.0.1__tar.gz → 1.10.0.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pre_commit_mirror_maker_2-1.10.0.1 → pre_commit_mirror_maker_2-1.10.0.2}/PKG-INFO +4 -2
- {pre_commit_mirror_maker_2-1.10.0.1 → pre_commit_mirror_maker_2-1.10.0.2}/README.md +3 -1
- {pre_commit_mirror_maker_2-1.10.0.1 → pre_commit_mirror_maker_2-1.10.0.2}/pre_commit_mirror_maker/all/.pre-commit-hooks.yaml +1 -0
- {pre_commit_mirror_maker_2-1.10.0.1 → pre_commit_mirror_maker_2-1.10.0.2}/pre_commit_mirror_maker/main.py +12 -0
- {pre_commit_mirror_maker_2-1.10.0.1 → pre_commit_mirror_maker_2-1.10.0.2}/pre_commit_mirror_maker_2.egg-info/PKG-INFO +4 -2
- {pre_commit_mirror_maker_2-1.10.0.1 → pre_commit_mirror_maker_2-1.10.0.2}/setup.cfg +1 -1
- {pre_commit_mirror_maker_2-1.10.0.1 → pre_commit_mirror_maker_2-1.10.0.2}/LICENSE +0 -0
- {pre_commit_mirror_maker_2-1.10.0.1 → pre_commit_mirror_maker_2-1.10.0.2}/pre_commit_mirror_maker/__init__.py +0 -0
- {pre_commit_mirror_maker_2-1.10.0.1 → pre_commit_mirror_maker_2-1.10.0.2}/pre_commit_mirror_maker/all/.version +0 -0
- {pre_commit_mirror_maker_2-1.10.0.1 → pre_commit_mirror_maker_2-1.10.0.2}/pre_commit_mirror_maker/languages.py +0 -0
- {pre_commit_mirror_maker_2-1.10.0.1 → pre_commit_mirror_maker_2-1.10.0.2}/pre_commit_mirror_maker/make_repo.py +0 -0
- {pre_commit_mirror_maker_2-1.10.0.1 → pre_commit_mirror_maker_2-1.10.0.2}/pre_commit_mirror_maker/node/.npmignore +0 -0
- {pre_commit_mirror_maker_2-1.10.0.1 → pre_commit_mirror_maker_2-1.10.0.2}/pre_commit_mirror_maker/node/package.json +0 -0
- {pre_commit_mirror_maker_2-1.10.0.1 → pre_commit_mirror_maker_2-1.10.0.2}/pre_commit_mirror_maker/python/setup.py +0 -0
- {pre_commit_mirror_maker_2-1.10.0.1 → pre_commit_mirror_maker_2-1.10.0.2}/pre_commit_mirror_maker/ruby/pre_commit_fake_gem.gemspec +0 -0
- {pre_commit_mirror_maker_2-1.10.0.1 → pre_commit_mirror_maker_2-1.10.0.2}/pre_commit_mirror_maker/rust/Cargo.toml +0 -0
- {pre_commit_mirror_maker_2-1.10.0.1 → pre_commit_mirror_maker_2-1.10.0.2}/pre_commit_mirror_maker/rust/main.rs +0 -0
- {pre_commit_mirror_maker_2-1.10.0.1 → pre_commit_mirror_maker_2-1.10.0.2}/pre_commit_mirror_maker_2.egg-info/SOURCES.txt +0 -0
- {pre_commit_mirror_maker_2-1.10.0.1 → pre_commit_mirror_maker_2-1.10.0.2}/pre_commit_mirror_maker_2.egg-info/dependency_links.txt +0 -0
- {pre_commit_mirror_maker_2-1.10.0.1 → pre_commit_mirror_maker_2-1.10.0.2}/pre_commit_mirror_maker_2.egg-info/entry_points.txt +0 -0
- {pre_commit_mirror_maker_2-1.10.0.1 → pre_commit_mirror_maker_2-1.10.0.2}/pre_commit_mirror_maker_2.egg-info/requires.txt +0 -0
- {pre_commit_mirror_maker_2-1.10.0.1 → pre_commit_mirror_maker_2-1.10.0.2}/pre_commit_mirror_maker_2.egg-info/top_level.txt +0 -0
- {pre_commit_mirror_maker_2-1.10.0.1 → pre_commit_mirror_maker_2-1.10.0.2}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pre_commit_mirror_maker_2
|
|
3
|
-
Version: 1.10.0.
|
|
3
|
+
Version: 1.10.0.2
|
|
4
4
|
Summary: Fork of pre-commit-mirror-maker
|
|
5
5
|
Home-page: https://github.com/GideonBear/pre-commit-mirror-maker-2
|
|
6
6
|
Author: Anthony Sottile
|
|
@@ -26,8 +26,10 @@ pre-commit-mirror-maker-2
|
|
|
26
26
|
Scripts for creating mirror repositories that do not have
|
|
27
27
|
.pre-commit-hooks.yaml
|
|
28
28
|
|
|
29
|
-
This is a fork of [pre-commit-mirror-maker](https://github.com/pre-commit/pre-commit-mirror-maker) to add a few
|
|
29
|
+
This is a fork of [pre-commit-mirror-maker](https://github.com/pre-commit/pre-commit-mirror-maker) to add a few
|
|
30
|
+
features, including:
|
|
30
31
|
|
|
32
|
+
* Adding support for `always_run: true` and `pass_filenames: false`
|
|
31
33
|
|
|
32
34
|
### Installation
|
|
33
35
|
|
|
@@ -7,8 +7,10 @@ pre-commit-mirror-maker-2
|
|
|
7
7
|
Scripts for creating mirror repositories that do not have
|
|
8
8
|
.pre-commit-hooks.yaml
|
|
9
9
|
|
|
10
|
-
This is a fork of [pre-commit-mirror-maker](https://github.com/pre-commit/pre-commit-mirror-maker) to add a few
|
|
10
|
+
This is a fork of [pre-commit-mirror-maker](https://github.com/pre-commit/pre-commit-mirror-maker) to add a few
|
|
11
|
+
features, including:
|
|
11
12
|
|
|
13
|
+
* Adding support for `always_run: true` and `pass_filenames: false`
|
|
12
14
|
|
|
13
15
|
### Installation
|
|
14
16
|
|
|
@@ -53,6 +53,10 @@ def main(argv: Sequence[str] | None = None) -> int:
|
|
|
53
53
|
mutex.add_argument(
|
|
54
54
|
'--types-or', action='append', help='`identify` type to OR match',
|
|
55
55
|
)
|
|
56
|
+
mutex.add_argument(
|
|
57
|
+
'--always-run', action='store_true',
|
|
58
|
+
help='Set `always_run: true` for the hook',
|
|
59
|
+
)
|
|
56
60
|
|
|
57
61
|
parser.add_argument(
|
|
58
62
|
'--id', help='Hook id, defaults to the entry point.',
|
|
@@ -73,6 +77,10 @@ def main(argv: Sequence[str] | None = None) -> int:
|
|
|
73
77
|
'--require-serial', action='store_true',
|
|
74
78
|
help='Set `require_serial: true` for the hook',
|
|
75
79
|
)
|
|
80
|
+
parser.add_argument(
|
|
81
|
+
'--pass-filenames-false', action='store_true',
|
|
82
|
+
help='Set `pass_filesnames: false` for the hook',
|
|
83
|
+
)
|
|
76
84
|
args = parser.parse_args(argv)
|
|
77
85
|
|
|
78
86
|
minimum_pre_commit_version = '0'
|
|
@@ -84,6 +92,9 @@ def main(argv: Sequence[str] | None = None) -> int:
|
|
|
84
92
|
elif args.types:
|
|
85
93
|
match_key = 'types'
|
|
86
94
|
match_val = f'[{args.types}]'
|
|
95
|
+
elif args.always_run:
|
|
96
|
+
match_key = 'always_run'
|
|
97
|
+
match_val = json.dumps(args.always_run)
|
|
87
98
|
else:
|
|
88
99
|
match_key = 'files'
|
|
89
100
|
match_val = args.files_regex
|
|
@@ -106,6 +117,7 @@ def main(argv: Sequence[str] | None = None) -> int:
|
|
|
106
117
|
match_val=match_val,
|
|
107
118
|
args=json.dumps(split_by_commas(args.args)),
|
|
108
119
|
require_serial=json.dumps(args.require_serial),
|
|
120
|
+
pass_filenames=json.dumps(not args.pass_filenames_false),
|
|
109
121
|
minimum_pre_commit_version=minimum_pre_commit_version,
|
|
110
122
|
)
|
|
111
123
|
return 0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pre_commit_mirror_maker_2
|
|
3
|
-
Version: 1.10.0.
|
|
3
|
+
Version: 1.10.0.2
|
|
4
4
|
Summary: Fork of pre-commit-mirror-maker
|
|
5
5
|
Home-page: https://github.com/GideonBear/pre-commit-mirror-maker-2
|
|
6
6
|
Author: Anthony Sottile
|
|
@@ -26,8 +26,10 @@ pre-commit-mirror-maker-2
|
|
|
26
26
|
Scripts for creating mirror repositories that do not have
|
|
27
27
|
.pre-commit-hooks.yaml
|
|
28
28
|
|
|
29
|
-
This is a fork of [pre-commit-mirror-maker](https://github.com/pre-commit/pre-commit-mirror-maker) to add a few
|
|
29
|
+
This is a fork of [pre-commit-mirror-maker](https://github.com/pre-commit/pre-commit-mirror-maker) to add a few
|
|
30
|
+
features, including:
|
|
30
31
|
|
|
32
|
+
* Adding support for `always_run: true` and `pass_filenames: false`
|
|
31
33
|
|
|
32
34
|
### Installation
|
|
33
35
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|