Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies #58

Merged
merged 5 commits into from
Dec 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
python 3.11.5
python 3.13.0
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,15 @@ good idea!
`pyproject.toml`. This is only necessary if you're adding or removing a new
dependency to the project.

## Handy commands

- `pip install .[test]`: Install test dependencies
- `python -m black src/`: Format source files
- `python -m isort --check src/`: sort imports with isort
- `python -m ssort --check src/`: sorts python code
- `python -m pylint src/`: Runs linter, try to get a 10/10 score!
- `python -m pytest tests/`: Runs tests

## License

This bot is licensed under the MIT license.
Expand Down
2 changes: 1 addition & 1 deletion app_manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ display_information:
name: HackGreenvilleAPIBot
description: Allow Greenville APIs and tools to interact with the HackGreenville Slack.
background_color: "#006341"
long_description: Posts invite requests, contact form, and events from the HG site and local API / tools to HackGreenville Slack channels. See https://github.com/openupstate and the c4g-events repository for more details.
long_description: Posts invite requests, contact form, and events from the HackGreenville site and local API / tools to HG Slack channels. See https://github.com/hackgvl and the slack-events-bot repository for more details.
features:
app_home:
home_tab_enabled: true
Expand Down
24 changes: 12 additions & 12 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,23 @@ version = "0.1.0"
authors = [{ name = "Olivia Sculley", email = "[email protected]" }]
keywords = ["automation", "black", "bolt", "bot", "pylint", "pytest", "slack"]
dependencies = [
"aiohttp==3.9.3",
"fastapi==0.109.2",
"python_dateutil==2.8.2",
"pytz==2024.1",
"slack_bolt==1.18.1",
"uvicorn==0.27.0.post1",
"aiohttp==3.11.10",
"fastapi==0.115.6",
"python-dateutil==2.9.0.post0",
"pytz==2024.2",
"slack_bolt==1.21.3",
"uvicorn==0.32.1",
]

[project.optional-dependencies]
test = [
"black==24.1.1",
"httpx==0.26.0",
"black==24.10.0",
"httpx==0.28.0",
"isort==5.13.2",
"pylint==3.0.3",
"pytest==7.4.4",
"pytest-asyncio==0.23.4",
"ssort==0.11.6",
"pylint==3.3.2",
"pytest==8.3.4",
"pytest-asyncio==0.24.0",
"ssort==0.14.0"
]

[project.urls]
Expand Down
3 changes: 1 addition & 2 deletions src/event.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,8 @@ class Event:

# pylint: disable=too-many-instance-attributes
# Events have lots of data that we need to save together

def __init__(
self, title, group_name, description, location, time, url, status, uuid
self, *, title, group_name, description, location, time, url, status, uuid
):
# pylint: disable=too-many-arguments
self.title = title
Expand Down
Loading