Skip to content

Commit

Permalink
Some config cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
joce committed Nov 26, 2023
1 parent 1ab1765 commit 37d5b27
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"ignorePaths": [".cspell.json", "pyproject.toml"],
"dictionaryDefinitions": [],
"dictionaries": [],
"words": ["legault", "renderable", "triggerable"],
"words": ["joce", "legault", "renderable", "triggerable"],
"ignoreWords": [
"EURUSD",
"KHTML",
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ jobs:
Checking imports with isort
# change to python 3.12 when isort supports it
run: |
poetry run isort -c --profile black --python-version 3 .
poetry run isort -c --python-version 3 .
- name: Checking formatting with black
run: |
poetry run black --check --target-version py312 .
poetry run black --check .
- name: Checking style with flake8
run: |
poetry run flake8 .
Expand Down
4 changes: 4 additions & 0 deletions .todo
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
https://blog.dennisokeeffe.com/blog/2021-08-08-pytest-with-github-actions
✔ github action for pyright @done(23-11-15 09:43)
✔ github action for black, flake8, isort @done(23-11-15 09:43)
☐ Consider ruff @created(23-11-25 11:57)
https://github.com/astral-sh/ruff
☐ Move .pylintrc to pyproject.toml @created(23-11-25 22:41)
https://pylint.pycqa.org/en/latest/user_guide/usage/run.html


App:
Expand Down
9 changes: 8 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
[tool.black]
target-version = ["py312"]
line-length = 88

[tool.isort]
profile = "black"

[tool.pytest.ini_options]
pythonpath = "src"
testpaths = ["tests"]
Expand All @@ -10,7 +17,7 @@ typeCheckingMode = "strict"
[tool.poetry]
name = "stockyard"
version = "0.1.0"
description = "A Yahoo! finance-based TUI stock viewer"
description = "A Yahoo! finance-based TUI toy stock viewer"
authors = ["Jocelyn Legault <jocelynlegault@gmail.com>"]
license = "MIT"
readme = "README.md"
Expand Down

0 comments on commit 37d5b27

Please sign in to comment.