You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 9, 2020. It is now read-only.
I get the following error when i try to run git lint
C:\Users\nzahuja\Anaconda3\lib\site-packages\gitlint\__init__.py:107: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
yaml_config = yaml.load(content)
Linting file: ←[1m.gitlab-ci.yml←[0m←[1m←[33mSKIPPED←[0m: yamllint is not installed. Run pip install yamllint.
but when I run yamllint, it works
(base) D:\Nikhil\GitLab\visualisations>yamllint .gitlab-ci.yml
.gitlab-ci.yml
1:79 warning missing starting space in comment (comments)
1:79 error wrong new line character: expected \n (new-lines)
3:79 warning missing starting space in comment (comments)
5:1 warning missing document start "---" (document-start)
12:15 warning too few spaces before comment (comments)
14:79 warning missing starting space in comment (comments)
16:79 warning missing starting space in comment (comments)
22:81 error line too long (107 > 80 characters) (line-length)
23:81 error line too long (106 > 80 characters) (line-length)
24:81 error line too long (105 > 80 characters) (line-length)
I get the following error when i try to run git lint
but when I run yamllint, it works