Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
nat-n committed Mar 16, 2024
1 parent 43cc75b commit 453c873
Show file tree
Hide file tree
Showing 33 changed files with 2,252 additions and 2,167 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
notes/
tests/temp
out.txt

# Byte-compiled / optimized / DLL files
__pycache__/
Expand Down
364 changes: 0 additions & 364 deletions .pylintrc

This file was deleted.

5 changes: 5 additions & 0 deletions lol.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@

tool.poe.env = {TEST_VAR_1 = "lol"}

[tool.poe.tasks]
booke = "echo $HOME $TEST_VAR_1 $TEST_VAR_2"
6 changes: 3 additions & 3 deletions poethepoet/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ def _list_tasks():
from .config import PoeConfig

config = PoeConfig()
config.load()
task_names = (task for task in config.tasks.keys() if task and task[0] != "_")
config.load(strict=False)
task_names = (task for task in config.task_names if task and task[0] != "_")
print(" ".join(task_names))
except Exception: # pylint: disable=broad-except
except Exception:
# this happens if there's no pyproject.toml present
pass
Loading

0 comments on commit 453c873

Please sign in to comment.