edc-vitals 1.1.0__tar.gz → 1.1.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- edc_vitals-1.1.2/.github/dependabot.yml +8 -0
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/.github/workflows/build.yml +1 -1
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/.pre-commit-config.yaml +17 -0
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/PKG-INFO +2 -2
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/edc_vitals/tests/tests/test_weight_height_bmi.py +2 -1
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/edc_vitals.egg-info/PKG-INFO +2 -2
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/edc_vitals.egg-info/SOURCES.txt +1 -0
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/pyproject.toml +4 -4
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/setup.cfg +1 -1
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/.coveragerc +0 -0
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/.editorconfig +0 -0
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/.gitignore +0 -0
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/.yamllint +0 -0
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/AUTHORS +0 -0
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/CHANGES +0 -0
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/LICENSE +0 -0
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/MANIFEST.in +0 -0
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/README.rst +0 -0
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/codecov.yml +0 -0
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/edc_vitals/__init__.py +0 -0
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/edc_vitals/apps.py +0 -0
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/edc_vitals/calculators/__init__.py +0 -0
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/edc_vitals/calculators/bmi.py +0 -0
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/edc_vitals/form_validators/__init__.py +0 -0
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/edc_vitals/form_validators/blood_pressure_form_validator_mixin.py +0 -0
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/edc_vitals/form_validators/bmi_form_validator_mixin.py +0 -0
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/edc_vitals/form_validators/weight_height_with_bmi_form_validator_mixin.py +0 -0
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/edc_vitals/migrations/__init__.py +0 -0
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/edc_vitals/model_mixins/__init__.py +0 -0
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/edc_vitals/model_mixins/blood_pressure_model_mixin.py +0 -0
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/edc_vitals/model_mixins/weight_height_bmi_model_mixin.py +0 -0
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/edc_vitals/models/__init__.py +0 -0
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/edc_vitals/models/fields/__init__.py +0 -0
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/edc_vitals/models/fields/blood_pressure.py +0 -0
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/edc_vitals/models/fields/heart_rate.py +0 -0
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/edc_vitals/models/fields/height.py +0 -0
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/edc_vitals/models/fields/respiratory_rate.py +0 -0
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/edc_vitals/models/fields/temperature.py +0 -0
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/edc_vitals/models/fields/waist_circumference.py +0 -0
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/edc_vitals/models/fields/weight.py +0 -0
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/edc_vitals/tests/__init__.py +0 -0
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/edc_vitals/tests/etc/user-aes-local.key +0 -0
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/edc_vitals/tests/etc/user-aes-restricted.key +0 -0
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/edc_vitals/tests/etc/user-rsa-local-private.pem +0 -0
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/edc_vitals/tests/etc/user-rsa-local-public.pem +0 -0
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/edc_vitals/tests/etc/user-rsa-restricted-private.pem +0 -0
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/edc_vitals/tests/etc/user-rsa-restricted-public.pem +0 -0
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/edc_vitals/tests/etc/user-salt-local.key +0 -0
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/edc_vitals/tests/etc/user-salt-restricted.key +0 -0
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/edc_vitals/tests/models.py +0 -0
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/edc_vitals/tests/test_settings.py +0 -0
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/edc_vitals/tests/tests/__init__.py +0 -0
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/edc_vitals/tests/tests/test_blood_pressure.py +0 -0
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/edc_vitals/tests/tests/test_calculators.py +0 -0
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/edc_vitals/tests/tests/test_heart_rate.py +0 -0
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/edc_vitals/tests/tests/test_respiratory_rate.py +0 -0
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/edc_vitals/tests/tests/test_temperature.py +0 -0
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/edc_vitals/tests/urls.py +0 -0
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/edc_vitals/utils.py +0 -0
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/edc_vitals/validators.py +0 -0
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/edc_vitals.egg-info/dependency_links.txt +0 -0
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/edc_vitals.egg-info/not-zip-safe +0 -0
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/edc_vitals.egg-info/top_level.txt +0 -0
- {edc_vitals-1.1.0 → edc_vitals-1.1.2}/runtests.py +0 -0
@@ -1,6 +1,18 @@
|
|
1
1
|
---
|
2
2
|
exclude: tests/etc/user-*
|
3
3
|
|
4
|
+
ci:
|
5
|
+
autofix_commit_msg: |
|
6
|
+
[pre-commit.ci] auto fixes from pre-commit.com hooks
|
7
|
+
|
8
|
+
for more information, see https://pre-commit.ci
|
9
|
+
autofix_prs: true
|
10
|
+
autoupdate_branch: ''
|
11
|
+
autoupdate_commit_msg: '[pre-commit.ci] pre-commit autoupdate'
|
12
|
+
autoupdate_schedule: weekly
|
13
|
+
skip: []
|
14
|
+
submodules: false
|
15
|
+
|
4
16
|
repos:
|
5
17
|
- repo: https://github.com/PyCQA/bandit
|
6
18
|
rev: 1.8.3
|
@@ -50,3 +62,8 @@ repos:
|
|
50
62
|
- id: yamllint
|
51
63
|
args:
|
52
64
|
- "--strict"
|
65
|
+
|
66
|
+
- repo: https://github.com/kynan/nbstripout
|
67
|
+
rev: 0.8.1
|
68
|
+
hooks:
|
69
|
+
- id: nbstripout
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: edc-vitals
|
3
|
-
Version: 1.1.
|
3
|
+
Version: 1.1.2
|
4
4
|
Summary: Classes for BP, weight, etc for clinicedc/edc projects
|
5
5
|
Home-page: https://github.com/clinicedc/edc-vitals
|
6
6
|
Author: Erik van Widenfelt
|
@@ -9,7 +9,7 @@ License: GPL license, see LICENSE
|
|
9
9
|
Keywords: django edc vitals,clinicedc,clinical trials
|
10
10
|
Classifier: Environment :: Web Environment
|
11
11
|
Classifier: Framework :: Django
|
12
|
-
Classifier: Framework :: Django :: 5.
|
12
|
+
Classifier: Framework :: Django :: 5.2
|
13
13
|
Classifier: Intended Audience :: Developers
|
14
14
|
Classifier: Intended Audience :: Science/Research
|
15
15
|
Classifier: Operating System :: OS Independent
|
@@ -3,10 +3,11 @@ from decimal import Decimal
|
|
3
3
|
from dateutil.relativedelta import relativedelta
|
4
4
|
from django import forms
|
5
5
|
from django.test import TestCase
|
6
|
-
from edc_reportable.forms import WeightHeightBmiFormValidatorMixin
|
7
6
|
from edc_utils import get_utcnow
|
8
7
|
from edc_utils.round_up import round_half_away_from_zero
|
9
8
|
|
9
|
+
from edc_vitals.form_validators import WeightHeightBmiFormValidatorMixin
|
10
|
+
|
10
11
|
from ..models import WeightHeightBmi
|
11
12
|
|
12
13
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: edc-vitals
|
3
|
-
Version: 1.1.
|
3
|
+
Version: 1.1.2
|
4
4
|
Summary: Classes for BP, weight, etc for clinicedc/edc projects
|
5
5
|
Home-page: https://github.com/clinicedc/edc-vitals
|
6
6
|
Author: Erik van Widenfelt
|
@@ -9,7 +9,7 @@ License: GPL license, see LICENSE
|
|
9
9
|
Keywords: django edc vitals,clinicedc,clinical trials
|
10
10
|
Classifier: Environment :: Web Environment
|
11
11
|
Classifier: Framework :: Django
|
12
|
-
Classifier: Framework :: Django :: 5.
|
12
|
+
Classifier: Framework :: Django :: 5.2
|
13
13
|
Classifier: Intended Audience :: Developers
|
14
14
|
Classifier: Intended Audience :: Science/Research
|
15
15
|
Classifier: Operating System :: OS Independent
|
@@ -1,5 +1,5 @@
|
|
1
1
|
[build-system]
|
2
|
-
requires = ["setuptools>=
|
2
|
+
requires = ["setuptools>=64", "setuptools-scm>=8"]
|
3
3
|
build-backend = "setuptools.build_meta"
|
4
4
|
|
5
5
|
[tool.setuptools_scm]
|
@@ -36,7 +36,7 @@ exclude_lines = [
|
|
36
36
|
legacy_tox_ini = """
|
37
37
|
[tox]
|
38
38
|
envlist =
|
39
|
-
py{312,313}-dj{
|
39
|
+
py{312,313}-dj{52,dev},
|
40
40
|
lint
|
41
41
|
pre-commit
|
42
42
|
|
@@ -49,7 +49,7 @@ python =
|
|
49
49
|
|
50
50
|
[gh-actions:env]
|
51
51
|
DJANGO =
|
52
|
-
5.
|
52
|
+
5.2: dj52
|
53
53
|
dev: djdev, lint, pre-commit
|
54
54
|
|
55
55
|
[testenv]
|
@@ -57,7 +57,7 @@ deps =
|
|
57
57
|
-r https://raw.githubusercontent.com/clinicedc/edc/develop/requirements.tests/tox.txt
|
58
58
|
-r https://raw.githubusercontent.com/clinicedc/edc/develop/requirements.tests/test_utils.txt
|
59
59
|
-r https://raw.githubusercontent.com/clinicedc/edc/develop/requirements.tests/edc.txt
|
60
|
-
|
60
|
+
dj52: Django>=5.2,<5.3
|
61
61
|
djdev: https://github.com/django/django/tarball/main
|
62
62
|
|
63
63
|
commands =
|
@@ -12,7 +12,7 @@ keywords = django edc vitals, clinicedc, clinical trials
|
|
12
12
|
classifiers =
|
13
13
|
Environment :: Web Environment
|
14
14
|
Framework :: Django
|
15
|
-
Framework :: Django :: 5.
|
15
|
+
Framework :: Django :: 5.2
|
16
16
|
Intended Audience :: Developers
|
17
17
|
Intended Audience :: Science/Research
|
18
18
|
Operating System :: OS Independent
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{edc_vitals-1.1.0 → edc_vitals-1.1.2}/edc_vitals/form_validators/bmi_form_validator_mixin.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{edc_vitals-1.1.0 → edc_vitals-1.1.2}/edc_vitals/model_mixins/weight_height_bmi_model_mixin.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|