Project

General

Profile

Actions

Suggested PyCharm settings

Under menu item File > Settings when using PyCharm IDE

Editor

  • General
    • Remove trailing spaces on: All lines
    • Set Ensure every saved file ends with a line break
  • Code Style
    • Set hardwrap to 80 columns
  • Code Style > Python > Wrapping and Braces
    • Set Ensure right margin is not exceeded

Code Style > Python > Tab Imports

  • Sort import statements
    • Sort imported names in "from" imports
    • Sort plain and "from" imports separately within a group
  • Join imports with the same source

Code Style > HTML -> Tabs and Indents

  • Tab size: 2
  • Indent: 2
  • Continuation indent: 2

Nosetests

  • Add a Python Nosetest
  • Target: Choose Script path and select path to openatlas/tests
  • Additional Arguments: --with-coverage --cover-html --cover-package tests --cover-package openatlas --cover-tests --cover-erase

Preferences

These are some personal preferences which don't have any effect on submitted code.

Font

  • Font: DejaVu Sans Mono
  • Size: 13
  • Line spacing: 1.2

Updated by Alexander Watzinger 1 day ago · 14 revisions

Also available in: PDF HTML TXT