Skip to content
This repository has been archived by the owner on Jun 16, 2022. It is now read-only.

Latest commit

 

History

History
40 lines (28 loc) · 1.2 KB

CONTRIB.md

File metadata and controls

40 lines (28 loc) · 1.2 KB

Contribution Guideline

  • Follow PEP8 Python style conventions
  • Conform to the following formatting and documentation standards
  • Include tests for your code
  • Minimize module dependencies
  • Ensure that your code is readable

Minimum Version

This project targets Python 3.10.

Merge|Pull Requests

  • It's the requestor's onus to show that his code is working
  • It's the merger's responsibility to be reasonably convinced that the code is working
  • Request reviews early into the process, so that proper allocations can be made
  • Disagree and Commit

Commits

  • Commits are to be prefixed with Add, Chg or Del
  • Commits are to be written in imperative mood (imagine there's an exclamation mark at the end of your commit message)

autopep8

Autopep8 fixes most of the issues reported by pylint API/.

Formatting all .py files in the API/ can be done via:

find API/ -name '*.py*' -print0 | xargs -0 autopep8 --in-place --aggressive --aggressive

Formatting a singular file:

autopep8 --in-place --aggressive --aggressive ${file:-__init__.py}