File tree 3 files changed +35
-1
lines changed
3 files changed +35
-1
lines changed Original file line number Diff line number Diff line change 1
1
"""Main init file for small_small_hr."""
2
- VERSION = (0 , 2 , 0 )
2
+ VERSION = (0 , 2 , 1 )
3
3
__version__ = "." .join (str (v ) for v in VERSION )
4
4
# pylint: disable=invalid-name
5
5
default_app_config = "small_small_hr.apps.SmallSmallHrConfig" # noqa
Original file line number Diff line number Diff line change
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
+ ]
Original file line number Diff line number Diff line change @@ -20,6 +20,12 @@ commands =
20
20
pip install -r requirements/dev.txt
21
21
pylint --rcfile ={toxinidir}/.pylintrc {toxinidir}/small_small_hr
22
22
23
+ [testenv:mypy]
24
+ basepython = python3.6
25
+ commands =
26
+ pip install -r requirements/dev.txt
27
+ mypy -m small_small_hr
28
+
23
29
[testenv]
24
30
deps =
25
31
coverage
You can’t perform that action at this time.
0 commit comments