• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

sk- / git-lint
99%
master: 99%

Build:
Build:
LAST BUILD BRANCH: fix-yaml-load
DEFAULT BRANCH: master
Repo Added 01 Feb 2014 12:03PM UTC
Files 6
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH fix-yaml-load
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • bug54
  • e2e
  • fix_mm_files
  • issue36
  • issue38
  • master
  • mercurial
  • travis2

pending completion
285

Pull #142

travis-ci

web-flow
Silence yaml load warning

```
/home/venv/lib/python3.6/site-packages/gitlint/__init__.py:105: 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)
```

We could preserve existing behaviour with `yaml.full_load(content)` or
`yaml.load(content, Loader=yaml.FullLoader)` - that's up to the
maintainer. But it seems to me that safe_load is most appropriate
in this case.

https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load(input)-Deprecation
Pull Request #142: Silence yaml load warning

1 of 1 new or added line in 1 file covered. (100.0%)

349 of 354 relevant lines covered (98.59%)

0.99 hits per line

Relevant lines Covered
Build:
Build:
354 RELEVANT LINES 349 COVERED LINES
0.99 HITS PER LINE
Source Files on master
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
285 fix-yaml-load Silence yaml load warning ``` /home/venv/lib/python3.6/site-packages/gitlint/__init__.py:105: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full... Pull #142 10 Apr 2019 12:39AM UTC web-flow travis-ci pending completion  
284 patch-1 Travis CI: Remove Python 3.4 and add Python 3.7 Python 3.4 end of life is in 30 days. https://devguide.python.org/#branchstatus Also, [Travis are now recommending removing the __sudo__ tag](https://blog.travis-ci.com/2018-11-19-required-linux-i... Pull #137 14 Feb 2019 04:41PM UTC web-flow travis-ci pending completion  
283 patch-1 README.rst: Python 2.7 and Python 3.5 and higher are supported Python 2.6 was EOL 5 years ago and Python 3.4 EOL is in 30 days. Pull #137 14 Feb 2019 04:31PM UTC web-flow travis-ci pending completion  
282 patch-1 setup.py: Add Python 3.7 and remove Python 3.4 Pull #137 14 Feb 2019 03:12PM UTC web-flow travis-ci pending completion  
281 patch-1 sudo apt-get install ruby2.3 ruby-dev --yes Pull #137 14 Feb 2019 02:22PM UTC web-flow travis-ci pending completion  
280 patch-1 Update .travis.yml Pull #137 14 Feb 2019 02:21PM UTC web-flow travis-ci pending completion  
278 patch-1 before_install: sudo apt install ruby-dev Pull #137 14 Feb 2019 02:11PM UTC web-flow travis-ci pending completion  
277 patch-1 before_install: apt install ruby-dev Pull #137 14 Feb 2019 02:05PM UTC web-flow travis-ci pending completion  
275 patch-1 Travis CI: Remove Python 3.4 and add Python 3.7 Python 3.4 end of life is in 30 days. https://devguide.python.org/#branchstatus Also, [Travis are now recommending removing the __sudo__ tag](https://blog.travis-ci.com/2018-11-19-required-linux... Pull #137 14 Feb 2019 10:37AM UTC web-flow travis-ci pending completion  
256 master-cachefix Invalidate cache if linter path or arguments change (#19) Pull #128 18 Oct 2018 04:23PM UTC web-flow travis-ci pending completion  
See All Builds (140)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc