Skip to content

Commit

Permalink
Adjust formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jacebrowning committed Mar 2, 2022
1 parent d61d1af commit 05d04f6
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 21 deletions.
2 changes: 1 addition & 1 deletion doorstop/core/importer.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def _file_xlsx(path, document, mapping=None):
data.append(row2)

# Warn about workbooks that may be sized incorrectly
if index >= 2 ** 20 - 1:
if index >= 2**20 - 1:
msg = "workbook contains the maximum number of rows"
warnings.warn(msg, Warning)

Expand Down
2 changes: 0 additions & 2 deletions doorstop/core/tests/test_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -490,8 +490,6 @@ def test_export_tsv(self):
move_file(temp, path)




class TestPublisher(unittest.TestCase):
"""Integration tests for the doorstop.core.publisher module."""

Expand Down
53 changes: 37 additions & 16 deletions poetry.lock

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

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ openpyxl = "^2.6"
[tool.poetry.dev-dependencies]

# Formatters
black = "=21.12b0"
isort = "=5.10.1"
black = "^22.1"
isort = "^5.10"

# Linters
mypy = "^0.790"
Expand Down

0 comments on commit 05d04f6

Please sign in to comment.