Skip to content

Commit

Permalink
Merge pull request #6 from ramanaditya/develop
Browse files Browse the repository at this point in the history
package update and docs
  • Loading branch information
ramanaditya authored Dec 31, 2020
2 parents ebf9fad + 6288398 commit a9060ed
Show file tree
Hide file tree
Showing 21 changed files with 949 additions and 196 deletions.
36 changes: 36 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# http://editorconfig.org

root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[*.{py,rst,ini}]
indent_style = space
indent_size = 4

[*.py]
max_line_length = 120
multi_line_output = 3
recursive = true
skip = venv/
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true

[*.yml]
indent_style = space
indent_size = 2

[*.md]
trim_trailing_whitespace = false

[{Makefile, *.bat}]
indent_style = tab
indent_size = 4

[*.bat]
end_of_line = crlf
5 changes: 5 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[flake8]
max-line-length = 120
exclude = .tox,.git,docs,venv,examples,build,dist,email_service.egg-info
max-complexity = 18
ignore = E203
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto
4 changes: 2 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ Please delete options that are not relevant.

# Checklist:

- [ ] I have optimized the import, on pycharm it can be done using `ctrl + alt/option + o`
- [ ] I have optimized the import, on Pycharm it can be done using `ctrl + alt/option + o`
- [ ] I have used Black for Code Formatting, this enhances code readability.
- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have commented on my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my feature works
Expand Down
33 changes: 33 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: CI

on:
pull_request:
branches: [ "main" ]
paths-ignore: [ "docs/**" ]

push:
branches: [ "main" ]
paths-ignore: [ "docs/**" ]


jobs:
flake8:
runs-on: ubuntu-latest

steps:

- name: Checkout Code Repository
uses: actions/checkout@v2

- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9

- name: Install flake8
run: |
python -m pip install --upgrade pip
pip install flake8
- name: Lint with flake8
run: flake8
2 changes: 1 addition & 1 deletion .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ jobs:
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
run: |
python setup.py sdist bdist_wheel
twine upload dist/*
python -m twine upload dist/*
10 changes: 10 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2

sphinx:
configuration: docs/conf.py

python:
version: 3.9
install:
- requirements: docs/requirements.txt
- requirements: requirements.txt
175 changes: 0 additions & 175 deletions README.md

This file was deleted.

Loading

0 comments on commit a9060ed

Please sign in to comment.