mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Update Python Port
parent
efd839a5bc
commit
4e01c530f7
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ source code
|
|||
3. If not otherwise specified, code should maintain PEP-8 compliance in terms of code style
|
||||
and spacing. `autopep8` can be used to automatically format your code
|
||||
4. All new Python code should be `isort`ed
|
||||
5. SQLAlchemy ORM model attributes should be Capitalized if they are literal table columns, otherwise snake_cased in accordance with PEP-8 guidelines
|
||||
5. SQLAlchemy ORM model attributes should be Capitalized if they are literal table columns or *forward references*, otherwise snake_cased for *backref references*s.
|
||||
6. Use typed arguments as often as possible. We'd like to show users the types of arguments without relying on documentation, and this helps a ton with that.
|
||||
|
||||
## Who, Where?
|
||||
|
|
Loading…
Add table
Reference in a new issue