Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

arunabhcode/py-sample

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup coding style

For Linux: Using Sublime 3 as code editor

  • Install prerequisites
    sudo apt-get install python3 
    sudo apt-get install python3-pip 

    sudo pip install -r requirements.txt
  • Open Sublime

  • ctrl + shift + p

  • select "package control: install package"

  • search and install SublimeLinter

  • search and install SublimeLinter-pylint

  • search and install AutoDocString

  • search and install FileHeader

  • search and install PyYapf Python Formatter, change settings

{
    "on_save": true
}
  • search and install Markdown Preview

Documentation

  • To setup the docs folder use
sphinx-quickstart
  • To process code documentation into .rst files
cd docs/
sphinx-apidoc -f -o ./ ../modules/
  • To generate documentation
cd docs/
make html

Test

  • Run tests from root
pytest -v unit-tests/

About

This will serve as a python repository template

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.