Skip to content

Commit 34ec757

Browse files
committed
Modify multi/commands/poetry.py
1 parent 2819cd7 commit 34ec757

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

multi/commands/poetry.py

+7-4
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,9 @@ def update(project):
3131
assert project.name == 'multi' or not project.git.is_dirty()
3232
if (project.path / PYPROJECT).exists():
3333
project.p()
34-
if not False:
35-
project.run.poetry('update')
36-
if project.git.is_dirty():
37-
project.git.commit('Update dependencies', *PROJECT_FILES)
34+
project.run.poetry('update')
35+
if project.git.is_dirty():
36+
project.git.commit('Update dependencies', *PROJECT_FILES)
3837

3938

4039
def remove_cruft(project):
@@ -53,6 +52,10 @@ def add_strict(project):
5352
project.git.commit('Run mypy in strict mode', PYPROJECT)
5453

5554

55+
def run_tests(project):
56+
project.run('/code/dotfiles/bin/run-tests')
57+
58+
5659
def _exists(url):
5760
try:
5861
value = requests.get(url)

0 commit comments

Comments
 (0)