Skip to content

Commit 414c9af

Browse files
authored
Merge pull request #28 from moshthepitt/more-generic-emails
More generic emails
2 parents dd06630 + 0616034 commit 414c9af

File tree

7 files changed

+218
-59
lines changed

7 files changed

+218
-59
lines changed

.pre-commit-config.yaml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v2.2.3
4+
hooks:
5+
- id: trailing-whitespace
6+
- id: end-of-file-fixer
7+
- id: flake8
8+
9+
- repo: https://github.com/pre-commit/mirrors-isort
10+
rev: v4.3.20
11+
hooks:
12+
- id: isort
13+
14+
- repo: https://github.com/python/black
15+
rev: 19.3b0
16+
hooks:
17+
- id: black
18+
language_version: python3.6
19+
20+
- repo: local
21+
hooks:
22+
- id: pylint
23+
name: PyLint
24+
entry: python -m pylint.__main__ --load-plugins pylint_django --rcfile=.pylintrc
25+
language: system
26+
files: \.py$
27+
28+
- repo: https://github.com/pre-commit/mirrors-mypy
29+
rev: v0.701
30+
hooks:
31+
- id: mypy

Pipfile

+2
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,5 @@ tblib = "*"
2121
pylint-django = "*"
2222
isort = "*"
2323
"pep8" = "*"
24+
pre-commit = "*"
25+
mypy = "*"

Pipfile.lock

+93-10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

+10
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,16 @@ Employees who are allowed overtime can log in and record overtime hours. This i
6666

6767
Admins can download overtime hours reports for a particular period.
6868

69+
## Contribution
70+
71+
All contributions are welcome.
72+
73+
To set up the project:
74+
75+
1. Clone this repo
76+
2. `pipenv sync --dev`
77+
3. `pre-commit install`
78+
6979
## Testing
7080

7181
```sh

setup.cfg

+13-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,16 @@
22
default_section = THIRDPARTY
33
known_first_party = small_small_hr
44
known_django = django
5-
sections = FUTURE,STDLIB,DJANGO,THIRDPARTY,FIRST_PARTY,LOCALFOLDER
5+
known_tests = tests
6+
sections = FUTURE,STDLIB,DJANGO,THIRDPARTY,FIRST_PARTY,TESTS,LOCALFOLDER
7+
multi_line_output = 3
8+
include_trailing_comma = True
9+
force_grid_wrap = 0
10+
use_parentheses = True
11+
line_length = 88
12+
13+
[flake8]
14+
max-line-length=90
15+
16+
[pycodestyle]
17+
max-line-length=90

small_small_hr/__init__.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
22
Main init file for small_small_hr
33
"""
4-
VERSION = (0, 1, 7)
5-
__version__ = '.'.join(str(v) for v in VERSION)
4+
VERSION = (0, 1, 8)
5+
__version__ = ".".join(str(v) for v in VERSION)
66
# pylint: disable=invalid-name
7-
default_app_config = 'small_small_hr.apps.SmallSmallHrConfig' # noqa
7+
default_app_config = "small_small_hr.apps.SmallSmallHrConfig" # noqa

0 commit comments

Comments
 (0)