Skip to content
This repository was archived by the owner on Apr 17, 2023. It is now read-only.

Commit e927293

Browse files
authored
Merge pull request #34 from code-yeongyu/feature/toml-formatter
Add toml formatter
2 parents 50e241f + ca4b220 commit e927293

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

.vscode/settings.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,8 @@
4040
},
4141
"python.linting.enabled": true,
4242
"python.linting.pylintEnabled": true,
43-
"python.linting.mypyEnabled": true
43+
"python.linting.mypyEnabled": true,
44+
"[toml]": {
45+
"editor.defaultFormatter": "tamasfe.even-better-toml"
46+
}
4447
}

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Twitter Video Tools
2+
23
[![PyPI version](https://badge.fury.io/py/twitter-video-tools.svg)](https://badge.fury.io/py/twitter-video-tools)
34
[![Test](https://github.com/code-yeongyu/twitter_video_tools/actions/workflows/test.yaml/badge.svg?branch=master)](https://github.com/code-yeongyu/twitter_video_tools/actions/workflows/test.yaml)
45
[![codecov](https://codecov.io/gh/code-yeongyu/twitter_video_tools/branch/master/graph/badge.svg?token=97K8BBWOH7)](https://codecov.io/gh/code-yeongyu/twitter_video_tools)
@@ -43,6 +44,7 @@ gh repo clone code-yeongyu/twitter_video_tools
4344
python3 -m pip install poetry
4445
poetry install # install dependencies
4546
code --install-extension emeraldwalk.RunOnSave # to force single quote
47+
code --install-extension tamasfe.even-better-toml # for handling toml
4648
```
4749

4850
Done!

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,5 +108,5 @@ exclude = ["**/node_modules", "**/__pycache__"]
108108
defineConstant = { DEBUG = true }
109109
useLibraryCodeForTypes = true
110110
verboseOutput = false
111-
reportMissingTypeStubs = true # even for 3rd party modules, it's required to create type stubs
112-
reportUnknownMemberType = false # for no typed modules
111+
reportMissingTypeStubs = true # even for 3rd party modules, it's required to create type stubs
112+
reportUnknownMemberType = false # for no typed modules

0 commit comments

Comments
 (0)