Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Check for Print statements in python files.
This module provides a plugin for flake8
, the Python code checker.
You can install or upgrade flake8-print
with these commands::
$ pip install flake8-print $ pip install --upgrade flake8-print
When both flake8 2.4.1
and flake8-print
are installed, the plugin is
available in flake8
::
$ flake8 --version
2.4.1 (pep8: 1.5.7, flake8-print: 2.0.0, mccabe: 0.3.1, pyflakes: 0.8.1)
Flake8 allows disabling some tests based on the folder:
[flake8]
per-file-ignores =
scripts/*: T20
cli.py: T20
Error Code | Description |
---|---|
T201 | print found |
T203 | pprint found |
T204 | pprint declared |
nopep8
commentsflake8 --version
call.FAQs
print statement checker plugin for flake8
We found that flake8-print demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.