Skip to content

Commit

Permalink
Merge pull request #92 from sgratzl/sgratzl/fixargs
Browse files Browse the repository at this point in the history
fix args for cli
  • Loading branch information
sgratzl authored Oct 21, 2023
2 parents 7e64360 + 9806bea commit 4b37770
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ jobs:
strategy:
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -104,3 +104,4 @@ ENV/
# mypy
.mypy_cache/
/internal
/create
4 changes: 4 additions & 0 deletions pyrightconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"typeCheckingMode": "basic",
"useLibraryCodeForTypes": true
}
2 changes: 1 addition & 1 deletion slack_cleaner2/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ def main():
cli main entry
"""
args = _args()
slack = SlackCleaner(args.token, args.log, args.rate)
slack = SlackCleaner(token=args.token, log_to_file=args.log, sleep_for=args.rate)

if args.info:
_show_infos(slack)
Expand Down

0 comments on commit 4b37770

Please sign in to comment.