Skip to content

Commit

Permalink
Add target version to toml file
Browse files Browse the repository at this point in the history
  • Loading branch information
camenpihor committed Jul 4, 2020
1 parent 4cf381c commit 279999d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
@@ -1,2 +1,3 @@
[tool.black]
line-length = 100
target-version = ['py37', 'py38']
2 changes: 1 addition & 1 deletion requirements-dev.txt
Expand Up @@ -5,4 +5,4 @@ pytest-cov>=2.6.1
seaborn>=0.9.0
sphinx>=1.8
nbsphinx>=0.4.2
black; python_version == '3.7'
black==19.10b0
2 changes: 1 addition & 1 deletion scripts/lint.sh
Expand Up @@ -2,7 +2,7 @@
set -ex # fail on first error, print commands

echo "Checking code style with black...."
python -m black bambi --line-length=100 --target-version=py37 --exclude=tests/ --check
python -m black bambi --check
echo "Success!"

echo "Checking code style with pylint..."
Expand Down

0 comments on commit 279999d

Please sign in to comment.