Skip to content

Commit

Permalink
chore(deps): update isort versions
Browse files Browse the repository at this point in the history
  • Loading branch information
esciara committed Oct 20, 2021
1 parent 8145abf commit 9ce8d75
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 25 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -246,15 +246,15 @@ seed-isort:
poetry run seed-isort-config

isort:
poetry run isort -rc $(PACKAGE_DIR) tests features -vb
poetry run isort --profile black $(PACKAGE_DIR) tests features

black:
poetry run black $(PACKAGE_DIR) tests features

format: seed-isort isort black

format-check:
poetry run isort -c -rc $(PACKAGE_DIR) tests features -vb
poetry run isort -c --profile black $(PACKAGE_DIR) tests features
poetry run black --check $(PACKAGE_DIR) tests features

tox-format:
Expand Down
6 changes: 4 additions & 2 deletions behave4git/git_steps.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,15 +106,17 @@ def step_commit_index_with_message(context, message):
@then('the file "{filepath}" should be staged')
def step_file_should_be_staged(context, filepath):
assert_that(
[d.a_path for d in context.repo.index.diff("HEAD")], has_item(filepath),
[d.a_path for d in context.repo.index.diff("HEAD")],
has_item(filepath),
)


@then('the file "{filepath}" should not be in the git index')
@then('the file "{filepath}" should not be staged')
def step_file_should_not_be_staged(context, filepath):
assert_that(
[d.a_path for d in context.repo.index.diff("HEAD")], not_(has_item(filepath)),
[d.a_path for d in context.repo.index.diff("HEAD")],
not_(has_item(filepath)),
)


Expand Down
36 changes: 18 additions & 18 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ classifiers = [
]

[tool.poetry.dependencies]
python = "^3.6"
python = "^3.6.1"
# Optional dependencies to be part of `test` extra
pytest = {version = "^5.1", optional = true}
pytest-cov = {version = "^2.8.1", optional = true}
Expand All @@ -51,8 +51,8 @@ yapf = {version = "^0.30.0", optional = true}
# Optional dependencies to be part of `type` extra
mypy = {version = "^0.740.0", optional = true}
# Optional dependencies to be part of `format` extra
isort = {version = "^4.3", optional = true}
seed-isort-config = {version = "^1.9.3", optional = true}
isort = {version = "^5", optional = true}
seed-isort-config = {version = "^2.2", optional = true}
black = {version = "stable", optional = true, allow-prereleases = true}
# Optional dependencies to be part of `docs` extra
sphinx = {version = "^2.3.0", optional = true}
Expand Down

0 comments on commit 9ce8d75

Please sign in to comment.