https://github.com/zbhavyai/conform-py-pep
A program to suggest some of the PEP8 non-conformance in the python file
https://github.com/zbhavyai/conform-py-pep
java pep8 python style-guide
Last synced: 7 months ago
JSON representation
A program to suggest some of the PEP8 non-conformance in the python file
- Host: GitHub
- URL: https://github.com/zbhavyai/conform-py-pep
- Owner: zbhavyai
- License: gpl-3.0
- Created: 2021-05-22T07:56:37.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-12-24T22:19:14.000Z (almost 4 years ago)
- Last Synced: 2025-01-27T22:46:22.763Z (9 months ago)
- Topics: java, pep8, python, style-guide
- Language: Java
- Homepage:
- Size: 42 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Conform Python PEP
The purpose of this program is to suggest some of the PEP8 non-conformance in the python file
You might want to use this program if -
+ your editor does not support formatting
+ for some reason you don't like to use your editor's formatting
+ or, you want to try how this program works out for you## Features
Some of the styles handled are -
+ Space around arithmetic, logical, comparison, and bitwise operators
+ Space after comment starts
+ No tabs to be used
## How to run
1. Clone the repository on your machine
2. Run the below command in the project directory
3. Compile with
```bash
$ javac -sourcepath src -d bin src/App.java
```4. Identify the `.py` file that you want to check. Provide its path when running the program
```bash
$ java -cp bin App
```5. You can also run without supplying the path to python file as a command line argument, and supply it when the program prompts
```bash
$ java -cp bin App
```## Screenshots
+ Contents of `testfile.py`

+ Example of execution
