Skip to content

Commit

Permalink
Merge pull request #35 from moshthepitt/wtf
Browse files Browse the repository at this point in the history
QoL Updates
  • Loading branch information
moshthepitt authored Jun 26, 2020
2 parents e2156d1 + 28ee444 commit e3db9ee
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 1 deletion.
2 changes: 1 addition & 1 deletion small_small_hr/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""Main init file for small_small_hr."""
VERSION = (0, 2, 0)
VERSION = (0, 2, 1)
__version__ = ".".join(str(v) for v in VERSION)
# pylint: disable=invalid-name
default_app_config = "small_small_hr.apps.SmallSmallHrConfig" # noqa
28 changes: 28 additions & 0 deletions small_small_hr/migrations/0010_auto_20200626_1313.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Generated by Django 3.0.7 on 2020-06-26 10:13
# pylint: disable=invalid-name,missing-module-docstring,missing-class-docstring
import django.db.models.deletion
from django.db import migrations

import mptt.fields


class Migration(migrations.Migration):

dependencies = [
("small_small_hr", "0009_auto_20200607_2244"),
]

operations = [
migrations.AlterField(
model_name="staffprofile",
name="supervisor",
field=mptt.fields.TreeForeignKey(
blank=True,
null=True,
on_delete=django.db.models.deletion.PROTECT,
related_name="children",
to="small_small_hr.StaffProfile",
verbose_name="Manager",
),
),
]
6 changes: 6 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ commands =
pip install -r requirements/dev.txt
pylint --rcfile={toxinidir}/.pylintrc {toxinidir}/small_small_hr

[testenv:mypy]
basepython = python3.6
commands =
pip install -r requirements/dev.txt
mypy -m small_small_hr

[testenv]
deps =
coverage
Expand Down

0 comments on commit e3db9ee

Please sign in to comment.