Skip to content

Commit

Permalink
Merge pull request #101 from jam-girl/feature/fix-dependencies-add-de…
Browse files Browse the repository at this point in the history
…vcontainer

Add devcontainer and move test dependencies to dev deps
  • Loading branch information
dotX12 committed Mar 31, 2024
2 parents 93561e6 + 64736f1 commit cd73156
Show file tree
Hide file tree
Showing 4 changed files with 69 additions and 37 deletions.
12 changes: 12 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/python
{
"name": "Python 3",
"image": "mcr.microsoft.com/devcontainers/python:3.8",
"features": {
"ghcr.io/devcontainers-contrib/features/poetry:2": {},
"ghcr.io/rocker-org/devcontainer-features/apt-packages:1": {
"packages": "ffmpeg"
}
}
}
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for more information:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
# https://containers.dev/guide/dependabot

version: 2
updates:
- package-ecosystem: "devcontainers"
directory: "/"
schedule:
interval: weekly
76 changes: 42 additions & 34 deletions poetry.lock

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

6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "shazamio"
version = "0.5.1"
version = "0.6.0"
description = "Is a asynchronous framework from reverse engineered Shazam API written in Python 3.8+ with asyncio and aiohttp."
authors = ["dotX12"]
license = "MIT License"
Expand All @@ -20,15 +20,15 @@ aiohttp = "^3.8.3"
pydub = "^0.25.1"
dataclass-factory = "2.16"
aiofiles = "^22.1.0"
pytest = "^7.2.0"
pytest-asyncio = "^0.20.3"
anyio = "^3.6.2"
pydantic = "^1.10.2"
shazamio-core = "^1.0.7"
aiohttp-retry = "^2.8.3"

[tool.poetry.group.dev.dependencies]
black = {version = "^24.2.0", allow-prereleases = true}
pytest = "^7.2.0"
pytest-asyncio = "^0.20.3"

[build-system]
requires = ["poetry-core>=1.0.0", "wheel>=0.36,<1.0"]
Expand Down

0 comments on commit cd73156

Please sign in to comment.