Skip to content

Commit e05e031

Browse files
update linting
1 parent 8db5879 commit e05e031

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

section-05-production-model-package/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ filterwarnings = [
3939
]
4040

4141
[tool.black]
42-
target-version = ['py36']
42+
target-version = ['py37']
4343

4444
[tool.isort]
4545
profile = "black"

section-05-production-model-package/requirements/test_requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
pytest>=6.2.3,<6.3.0
55

66
# repo maintenance tooling
7-
black==20.8b1
7+
black==22.3.0
88
flake8>=3.9.0,<3.10.0
99
mypy==0.812
1010
isort==5.8.0

section-05-production-model-package/tox.ini

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99

1010
[tox]
11-
envlist = test_package, typechecks, stylechecks, lint
11+
envlist = test_package, typechecks, lint, stylechecks
1212
skipsdist = True
1313

1414
[testenv]
@@ -68,9 +68,7 @@ deps =
6868
commands =
6969
isort regression_model tests
7070
black regression_model tests
71-
mypy regression_model
72-
flake8 regression_model
7371

7472
[flake8]
7573
exclude = .git,env
76-
max-line-length = 90
74+
max-line-length = 100

0 commit comments

Comments
 (0)