Actions
PyCharm Settings » History » Revision 13
« Previous |
Revision 13/17
(diff)
| Next »
Alexander Watzinger, 2021-10-18 13:20
- Table of contents
- Suggested PyCharm settings
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¶
Target: Choose Script path and enter path to tests, e.g. /home/alex/projects/www/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 over 1 year ago · 13 revisions