Project

General

Profile

PyCharm Settings » History » Version 10

Alexander Watzinger, 2021-07-31 20:00

1 4 Alexander Watzinger
{{toc}}
2 1 Alexander Watzinger
3 9 Alexander Watzinger
Suggested *File > Settings* when using "PyCharm":https://www.jetbrains.com/pycharm/ IDE
4 1 Alexander Watzinger
5 9 Alexander Watzinger
h2. Editor > General
6 1 Alexander Watzinger
7 9 Alexander Watzinger
* Remove trailing spaces on: *All lines*
8
* Set *Ensure every saved file ends with a line break*
9 1 Alexander Watzinger
10 9 Alexander Watzinger
h2. Editor > Code Style
11 1 Alexander Watzinger
12 9 Alexander Watzinger
* Set *hardwrap* to 80 columns
13 4 Alexander Watzinger
14 10 Alexander Watzinger
h2. Editor > Code Style > Python > Wrapping and Braces
15 9 Alexander Watzinger
16
* Set *Ensure right margin is not exceeded*
17
18
h2. Editor > Code Style > Python > Tab Imports
19 4 Alexander Watzinger
20
* Sort import statements
21
** Sort imported names in "from" imports
22
** Sort plain and "from" imports separately within a group
23
24
** Join imports with the same source
25 1 Alexander Watzinger
26
h2. Nosetests
27
28 2 Alexander Watzinger
Target: Choose *Script path* and enter path to *tests*, e.g. /home/alex/projects/www/openatlas/tests
29
Additional Arguments: *--with-coverage --cover-package openatlas --cover-html --cover-tests --cover-erase*
30 3 Alexander Watzinger
31
h2. Preferences
32
33
These are some personal preferences which don't have any effect on submitted code.
34
35
h3. Font
36
37
* Font: DejaVu Sans Mono
38
* Size: 13
39
* Line spacing: 1.2