mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-06-28 05:26:13 +02:00
Refactor flow for easier access to some files (avoid things like jrnl.Journal.Journal
and jrnl.jrnl
co-existing) (#1662)
* run format * rename cli.py to main.py * rename jrnl.py to controller.py * move journal class files into journals dir * rename start -> run in controller.py
This commit is contained in:
parent
7be67accc1
commit
fff05eb646
26 changed files with 84 additions and 69 deletions
|
@ -63,7 +63,7 @@ tox = "*"
|
|||
xmltodict = "*"
|
||||
|
||||
[tool.poetry.scripts]
|
||||
jrnl = 'jrnl.cli:cli'
|
||||
jrnl = 'jrnl.main:run'
|
||||
|
||||
[tool.poe.tasks]
|
||||
docs-check.default_item_type = "script"
|
||||
|
@ -157,6 +157,8 @@ pycodestyle = [
|
|||
"flake8-*" = ["+*"]
|
||||
flake8-black = ["-BLK901"]
|
||||
|
||||
[tool.flakeheaven.exceptions."jrnl/journals/__init__.py"]
|
||||
pyflakes = ["-F401"]
|
||||
|
||||
[build-system]
|
||||
requires = ["poetry-core>=1.0.0"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue