PyCharm Settings » History » Version 8
Alexander Watzinger, 2021-07-16 12:43
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 | 7 | Nina Richards | Ensure every saved file ends with a line break = *Checked* |
9 | 4 | Alexander Watzinger | |
10 | 8 | Alexander Watzinger | h2. Editor -> Code Style |
11 | |||
12 | Set hardwrap to 80 columns |
||
13 | |||
14 | 5 | Nina Richards | h2. Editor -> Code Style -> Python -> Tab Imports |
15 | 4 | Alexander Watzinger | |
16 | * Sort import statements |
||
17 | ** Sort imported names in "from" imports |
||
18 | ** Sort plain and "from" imports separately within a group |
||
19 | |||
20 | ** Join imports with the same source |
||
21 | 1 | Alexander Watzinger | |
22 | h2. Nosetests |
||
23 | |||
24 | 2 | Alexander Watzinger | Target: Choose *Script path* and enter path to *tests*, e.g. /home/alex/projects/www/openatlas/tests |
25 | Additional Arguments: *--with-coverage --cover-package openatlas --cover-html --cover-tests --cover-erase* |
||
26 | 3 | Alexander Watzinger | |
27 | h2. Preferences |
||
28 | |||
29 | These are some personal preferences which don't have any effect on submitted code. |
||
30 | |||
31 | h3. Font |
||
32 | |||
33 | * Font: DejaVu Sans Mono |
||
34 | * Size: 13 |
||
35 | * Line spacing: 1.2 |