Also add a in the pep8 tox job a check to verify that all files
are properly formatted
Change-Id: I7bac8463b273f3bce9be098e6ee76f1761e28e72
/scratch_test_*
/test_schema.db
.idea/
+.vscode/
+.pytest_cache/
\ No newline at end of file
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/python/black
- rev: 19.3b0
+ rev: 19.10b0
hooks:
- id: black
- args: [-l 79]
- repo: https://github.com/sqlalchemyorg/zimports
rev: master
--- /dev/null
+[tool.black]
+line-length = 79
)
def test_add_timestamp_server_default_current_timestamp_bundle_onupdate(
- self
+ self,
):
# note SQLAlchemy reflection bundles the ON UPDATE part into the
# server default reflection see
)
def test_add_datetime_server_default_current_timestamp_bundle_onupdate(
- self
+ self,
):
# note SQLAlchemy reflection bundles the ON UPDATE part into the
# server default reflection see
pydocstyle<4.0.0
# used by flake8-rst-docstrings
pygments
-commands = flake8 ./alembic/ ./tests/ setup.py docs/build/conf.py
+ black==19.10b0
+commands =
+ flake8 ./alembic/ ./tests/ setup.py docs/build/conf.py
+ black --check .