Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Update CI to run isort on scripts and scripts-dev (#6270)
Browse files Browse the repository at this point in the history
  • Loading branch information
anoadragon453 authored Oct 30, 2019
1 parent 7955abe commit 2cab02f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions changelog.d/6270.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update CI to run `isort` over the `scripts` and `scripts-dev` directories.
3 changes: 1 addition & 2 deletions scripts-dev/update_database
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ from twisted.internet import defer, reactor
from synapse.config.homeserver import HomeServerConfig
from synapse.metrics.background_process_metrics import run_as_background_process
from synapse.server import HomeServer
from synapse.storage.engines import create_engine
from synapse.storage import DataStore
from synapse.storage.engines import create_engine
from synapse.storage.prepare_database import prepare_database

logger = logging.getLogger("update_database")
Expand Down Expand Up @@ -122,4 +122,3 @@ if __name__ == "__main__":
))

reactor.run()

2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ commands =
[testenv:check_isort]
skip_install = True
deps = isort
commands = /bin/sh -c "isort -c -df -sp setup.cfg -rc synapse tests"
commands = /bin/sh -c "isort -c -df -sp setup.cfg -rc synapse tests scripts-dev scripts"

[testenv:check-newsfragment]
skip_install = True
Expand Down

0 comments on commit 2cab02f

Please sign in to comment.