Skip to content

Commit e3db9ee

Browse files
authored
Merge pull request #35 from moshthepitt/wtf
QoL Updates
2 parents e2156d1 + 28ee444 commit e3db9ee

File tree

3 files changed

+35
-1
lines changed

3 files changed

+35
-1
lines changed

small_small_hr/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""Main init file for small_small_hr."""
2-
VERSION = (0, 2, 0)
2+
VERSION = (0, 2, 1)
33
__version__ = ".".join(str(v) for v in VERSION)
44
# pylint: disable=invalid-name
55
default_app_config = "small_small_hr.apps.SmallSmallHrConfig" # noqa
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Generated by Django 3.0.7 on 2020-06-26 10:13
2+
# pylint: disable=invalid-name,missing-module-docstring,missing-class-docstring
3+
import django.db.models.deletion
4+
from django.db import migrations
5+
6+
import mptt.fields
7+
8+
9+
class Migration(migrations.Migration):
10+
11+
dependencies = [
12+
("small_small_hr", "0009_auto_20200607_2244"),
13+
]
14+
15+
operations = [
16+
migrations.AlterField(
17+
model_name="staffprofile",
18+
name="supervisor",
19+
field=mptt.fields.TreeForeignKey(
20+
blank=True,
21+
null=True,
22+
on_delete=django.db.models.deletion.PROTECT,
23+
related_name="children",
24+
to="small_small_hr.StaffProfile",
25+
verbose_name="Manager",
26+
),
27+
),
28+
]

tox.ini

+6
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ commands =
2020
pip install -r requirements/dev.txt
2121
pylint --rcfile={toxinidir}/.pylintrc {toxinidir}/small_small_hr
2222

23+
[testenv:mypy]
24+
basepython = python3.6
25+
commands =
26+
pip install -r requirements/dev.txt
27+
mypy -m small_small_hr
28+
2329
[testenv]
2430
deps =
2531
coverage

0 commit comments

Comments
 (0)