Project

General

Profile

PyCharm Settings » History » Version 6

Nina Richards, 2020-12-21 14:33

1 4 Alexander Watzinger
{{toc}}
2 1 Alexander Watzinger
3 4 Alexander Watzinger
Some settings when using "PyCharm":https://www.jetbrains.com/pycharm/ IDE
4 1 Alexander Watzinger
5 4 Alexander Watzinger
h2. Editor -> General
6 1 Alexander Watzinger
7 6 Nina Richards
Remove trailing spaces on: *All lines*
8 1 Alexander Watzinger
Ensure line feed at file end on save = *Checked*
9 4 Alexander Watzinger
10 5 Nina Richards
h2. Editor -> Code Style -> Python -> Tab Imports
11 4 Alexander Watzinger
12
* Sort import statements
13
** Sort imported names in "from" imports
14
** Sort plain and "from" imports separately within a group
15
16
** Join imports with the same source
17 1 Alexander Watzinger
18
h2. Nosetests
19
20 2 Alexander Watzinger
Target: Choose *Script path* and enter path to *tests*, e.g. /home/alex/projects/www/openatlas/tests
21
Additional Arguments: *--with-coverage --cover-package openatlas --cover-html --cover-tests --cover-erase*
22 3 Alexander Watzinger
23
h2. Preferences
24
25
These are some personal preferences which don't have any effect on submitted code.
26
27
h3. Font
28
29
* Font: DejaVu Sans Mono
30
* Size: 13
31
* Line spacing: 1.2