Skip to content
Draft
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
12 changes: 5 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8]
python-version: [3.11]

steps:
- uses: actions/checkout@v2
Expand All @@ -19,11 +19,9 @@ jobs:
- name: Install dependencies
run: |
sudo apt-get install coinor-cbc
python -m pip install --upgrade pip
pip install flake8==3.8.3 black==19.10b0 pytest==5.4.3
pip install -e .
python -m pip install --upgrade pip poetry
poetry install --with dev
- name: Test with pytest
run: |
black --check ./slotmachine ./tests
flake8
pytest
poetry run ruff check ./
poetry run pytest
180 changes: 180 additions & 0 deletions poetry.lock

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

24 changes: 24 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
[tool.poetry]
name = "slotmachine"
version = "0.0.6"
description = "Conference talk scheduler"
authors = ["EMF <[email protected]>"]
license = "MIT"
readme = "README.md"

[tool.poetry.dependencies]
python = "^3.9"
pulp = "2.1"
python-dateutil = ">=2.5.3"


[tool.poetry.group.dev.dependencies]
ruff = "^0.2.0"
pytest = "^8.0.0"

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

[tool.ruff]
ignore = ["E741"]
2 changes: 0 additions & 2 deletions setup.cfg

This file was deleted.

16 changes: 0 additions & 16 deletions setup.py

This file was deleted.

Loading