fix(python): add package name and version validation for requirements.txt files. (#6804)

This commit is contained in:
DmitriyLewen
2024-05-29 10:53:16 +06:00
committed by GitHub
parent a447f6ba94
commit ea3a124fc7
3 changed files with 77 additions and 30 deletions

View File

@@ -0,0 +1,5 @@
%ifcookiecutter.command_line_interface|lower=='click'-%}
foo|bar=='1.2.4'
foo{bar}==%%
foo,bar&&foobar==1.2.3
foo=='invalid-version'