Skip to content

Commit

Permalink
refactor: format code
Browse files Browse the repository at this point in the history
  • Loading branch information
01Joseph-Hwang10 committed Mar 4, 2024
1 parent 5194b1b commit 36e6b2c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion dotty_dictionary/_dotty_dictionary.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ def set_to(items: list, data: dict):
"""
it = items.pop(0)
if items:

if items[0].isdigit():
next_item = []
else:
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ extend-exclude = "/(\n # The following are specific to Black, you probably don'
test = "python -m pytest"
lint = "flake8 dotty_dictionary tests"
check-format = "black dotty_dictionary tests --check"
format = "black dotty_dictionary tests"

[tool.poetry.dependencies]
python = ">=3.10,<4.0"
Expand Down

0 comments on commit 36e6b2c

Please sign in to comment.