Skip to content

Python Syntax using python -m py_compile #483

@nordlow

Description

@nordlow

It would be nice to have a basic Python syntax checker that uses simply

python -m py_compile script.py

to perform syntax check. This would enable basic Python syntax check in just about all vanilla Linux installations without need for installing pylint and flake8 etc.

See https://stackoverflow.com/questions/4284313/how-can-i-check-the-syntax-of-python-script-without-executing-it

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions