Skip to content

Commit

Permalink
Merge pull request #20 from bgrnwd/chore/update-python-ci
Browse files Browse the repository at this point in the history
chore: remove Python 3.7 and add 3.12
  • Loading branch information
bgrnwd committed May 7, 2024
2 parents ec8869c + e811a59 commit b6a6623
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 15 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/python-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v4
Expand All @@ -26,7 +26,6 @@ jobs:
run: |
mypy mobfot
ruff check mobfot
black --check mobfot
- name: Behave tests
run: |
cd tests
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ client.get_matches_by_date("20221205")
## Contributing

- Feel free to [open an issue](https://github.com/bgrnwd/mobfot/issues/new) or submit a pull request.
- If you decide to contribute check the linting with: `black --line-length 88 .`

## License

Expand Down
2 changes: 1 addition & 1 deletion mobfot/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import requests
from cachecontrol import CacheControl

VERSION = "1.2.0"
VERSION = "1.3.0"


class MobFot:
Expand Down
15 changes: 5 additions & 10 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "mobfot"
description = "A Python wrapper around the unofficial FotMob API"
description = "An unofficial Python client for the FotMob API"
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.7"
Expand All @@ -18,19 +18,18 @@ classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = ["requests~=2.31.0", "CacheControl>=0.13.1,<0.15.0"]
dependencies = ["requests>=2.31.0", "CacheControl>=0.13.1"]
dynamic = ["version"]

[project.optional-dependencies]
test = [
"black",
"ruff",
"behave",
"mypy",
Expand All @@ -42,15 +41,11 @@ test = [
]

[project.urls]
homepage = "https://github.com/bgrnwd/mobfot"
homepage = "https://bgrnwd.com/mobfot/"
repository = "https://github.com/bgrnwd/mobfot"

[tool.ruff]
ignore = ["F401"]

[tool.black]
line-length = 88

lint.ignore = ["F401"]

[tool.setuptools.dynamic]
version = { attr = "mobfot.client.VERSION" }
Expand Down
1 change: 0 additions & 1 deletion tests/features/client.feature
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,3 @@ Feature: Client usage
Given there is a MobFot client
When the "search" function is called with parameters "neymar"
Then there is a response

0 comments on commit b6a6623

Please sign in to comment.