mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Improve python healthy() and eliminate python_venv
- the `healthy()` check now requires virtualenv 20.x's metadata - `python_venv` is obsolete now that `virtualenv` generates the same structure and `virtualenv` is more portable
This commit is contained in:
parent
5ed3f5649b
commit
3d50b3736a
8 changed files with 164 additions and 146 deletions
|
|
@ -3,8 +3,7 @@ import sys
|
|||
|
||||
LANGUAGES = [
|
||||
'conda', 'docker', 'docker_image', 'fail', 'golang', 'node', 'perl',
|
||||
'pygrep', 'python', 'python_venv', 'ruby', 'rust', 'script', 'swift',
|
||||
'system',
|
||||
'pygrep', 'python', 'ruby', 'rust', 'script', 'swift', 'system',
|
||||
]
|
||||
FIELDS = [
|
||||
'ENVIRONMENT_DIR', 'get_default_version', 'healthy', 'install_environment',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue