Skip to content

Commit

Permalink
Merge pull request #150 from Start-Out/dev/devops/lint-with-black
Browse files Browse the repository at this point in the history
DevOps: Black Code Style
  • Loading branch information
trentonyo authored Mar 19, 2024
2 parents 37beecc + 82b7948 commit 6dbb253
Show file tree
Hide file tree
Showing 5 changed files with 216 additions and 63 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
[![image.png](https://i.postimg.cc/W3HvnfNj/image.png)](https://postimg.cc/dkrpQ6ZS)

![PyPI - Downloads](https://img.shields.io/pypi/dm/todo-or-not)
![PyPI - Version](https://img.shields.io/pypi/v/todo-or-not)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/todo-or-not)
![PyPI - License](https://img.shields.io/pypi/l/todo-or-not)
![PyPI - Version](https://img.shields.io/pypi/v/todo-or-not)
[![Coverage Status](https://coveralls.io/repos/github/Start-Out/todo-or-not/badge.svg?branch=dev/staging&kill_cache=1)](https://coveralls.io/github/Start-Out/todo-or-not?branch=dev/staging&kill_cache=1)
![PyPI - Downloads](https://img.shields.io/pypi/dm/todo-or-not)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/todo-or-not)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
![PyPI - License](https://img.shields.io/pypi/l/todo-or-not?color=purple)

> TODO or not to do, that is the question
Expand Down
83 changes: 82 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ coveralls = "^3.3.1"
pytest-cov = "^4.1.0"
pytest = "^8.1.1"


[tool.poetry.group.dev.dependencies]
black = "^24.3.0"

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
Expand Down
8 changes: 3 additions & 5 deletions todo_or_not/localize.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
SUPPORTED_ENCODINGS_TODOIGNORE = ['utf-8', 'utf-16']
SUPPORTED_ENCODINGS_TODO_CHECK = ['utf-8', 'utf-16']
SUPPORTED_ENCODINGS_TODOIGNORE = ["utf-8", "utf-16"]
SUPPORTED_ENCODINGS_TODO_CHECK = ["utf-8", "utf-16"]

LOCALIZE = {
"en_us": {
Expand Down Expand Up @@ -50,7 +50,5 @@
"warning_run_without_todo_ignore": "သတိပေးချက်- .todo-ignore မပါဘဲ လုပ်ဆောင်နေသည်။ အသုံးပြုမှုကို ပယ်ဖျက်ရန် -",
"warning_encoding_not_supported": f"သတိပေးချက်- ဖိုင်သည် ပံ့ပိုးမထားသော ကုဒ်နံပါတ်ကို အသုံးပြုသည်၊ ၎င်းကို ကျော်သွားပါမည်၊ သို့သော် .todo-ignore တွင် ထည့်ရန်စဉ်းစားသည် (ပံ့ပိုးပေးထားသော ကုဒ်နံပါတ်များ- {SUPPORTED_ENCODINGS_TODO_CHECK})",
},
"windows": {
"shell_sigint": "CTRL + C"
}
"windows": {"shell_sigint": "CTRL + C"},
}
Loading

0 comments on commit 6dbb253

Please sign in to comment.