Skip to content

Commit 375145a

Browse files
committed
Fix small typo and and add test coverage badge + fix coverage
1 parent 54bf6ce commit 375145a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Pylint Secure Coding Standard Plugin
22

3-
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pylint-secure-coding-standard?label=Python) [![PyPI version](https://badge.fury.io/py/pylint-secure-coding-standard.svg)](https://badge.fury.io/py/pylint-secure-coding-standard) [![CI Build](https://github.com/Takishima/pylint-secure-coding-standard/actions/workflows/ci.yml/badge.svg)](https://github.com/Takishima/pylint-secure-coding-standard/actions/workflows/ci.yml) [![CodeQL](https://github.com/Takishima/pylint-secure-coding-standard/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/Takishima/pylint-secure-coding-standard/actions/workflows/codeql-analysis.yml) [![pre-commit.ci status](https://results.pre-commit.ci/badge/github/Takishima/pylint-secure-coding-standard/main.svg)](https://results.pre-commit.ci/latest/github/Takishima/pylint-secure-coding-standard/main)
3+
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pylint-secure-coding-standard?label=Python) [![PyPI version](https://badge.fury.io/py/pylint-secure-coding-standard.svg)](https://badge.fury.io/py/pylint-secure-coding-standard) [![CI Build](https://github.com/Takishima/pylint-secure-coding-standard/actions/workflows/ci.yml/badge.svg)](https://github.com/Takishima/pylint-secure-coding-standard/actions/workflows/ci.yml) [![CodeQL](https://github.com/Takishima/pylint-secure-coding-standard/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/Takishima/pylint-secure-coding-standard/actions/workflows/codeql-analysis.yml) [![pre-commit.ci status](https://results.pre-commit.ci/badge/github/Takishima/pylint-secure-coding-standard/main.svg)](https://results.pre-commit.ci/latest/github/Takishima/pylint-secure-coding-standard/main) [![Coverage Status](https://coveralls.io/repos/github/Takishima/pylint-secure-coding-standard/badge.svg?branch=main)](https://coveralls.io/github/Takishima/pylint-secure-coding-standard?branch=main)
44

55

66
pylint plugin that enforces some secure coding standards.
@@ -17,7 +17,7 @@ pylint plugin that enforces some secure coding standards.
1717
| E8001 | Avoid using `exec()` and `eval()` |
1818
| E8002 | Avoid using `os.sytem()` |
1919
| E8003 | Avoid using `shell=True` when calling `subprocess` functions |
20-
| R8004 | Avoid using `tempfile.mktemp()`, prefer `tempfile.mkstemp()` instead |
20+
| R8004 | Avoid using `tempfile.mktemp()`, prefer `tempfile.mkstemp()` instead |
2121
| E8005 | Avoid using unsafe PyYAML loading functions |
2222
| E8006 | Avoid using `jsonpickle.decode()` |
2323
| C8007 | Avoid debug statement in production code |

pylint_secure_coding_standard.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ def visit_assert(self, node):
245245
self.add_message('avoid-assert', node=node)
246246

247247

248-
def register(linter):
248+
def register(linter): # pragma: no cover
249249
"""
250250
Function to register the plugin to Pylint
251251
"""

0 commit comments

Comments
 (0)