mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Add dummy go.mod for local "empty" installs
This commit is contained in:
parent
0670e0b287
commit
e2ed73209a
2 changed files with 3 additions and 3 deletions
0
pre_commit/resources/empty_template_go.mod
Normal file
0
pre_commit/resources/empty_template_go.mod
Normal file
|
|
@ -182,9 +182,9 @@ class Store:
|
|||
return self._new_repo(repo, ref, deps, clone_strategy)
|
||||
|
||||
LOCAL_RESOURCES = (
|
||||
'Cargo.toml', 'main.go', 'main.rs', '.npmignore', 'package.json',
|
||||
'pre_commit_dummy_package.gemspec', 'setup.py', 'environment.yml',
|
||||
'Makefile.PL',
|
||||
'Cargo.toml', 'main.go', 'go.mod', 'main.rs', '.npmignore',
|
||||
'package.json', 'pre_commit_dummy_package.gemspec', 'setup.py',
|
||||
'environment.yml', 'Makefile.PL',
|
||||
)
|
||||
|
||||
def make_local(self, deps: Sequence[str]) -> str:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue