Skip to content

Commit

Permalink
Remove references to setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
albertyw committed Oct 15, 2023
1 parent 07a84a1 commit 9bbdfd0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
8 changes: 3 additions & 5 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,13 @@ steps:
- name: Test Python 3.7
image: python:3.7
commands:
- python setup.py develop
- python3 -m unittest
- python -m unittest

- name: Test Python 3.12
image: python:3.12
commands:
- curl -L "https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-$(dpkg --print-architecture)" > "${HOME}/bin/cc-test-reporter"
- chmod +x "${HOME}/bin/cc-test-reporter"
- python setup.py develop
- pip install -r requirements-test.txt
- ruff check .
- mypy . --strict
Expand All @@ -34,7 +32,7 @@ steps:
image: python:3.12
commands:
- pip install twine
- python setup.py sdist bdist_wheel
- python -m build
- twine check --strict dist/*

- name: Upload Python
Expand All @@ -48,7 +46,7 @@ steps:
image: python:3.12
commands:
- pip install twine
- python setup.py sdist bdist_wheel
- python -m build
- twine upload dist/*
when:
event:
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ source = [
]
omit = [
".virtualenv",
"setup.py",
]

[tool.coverage.report]
Expand Down

0 comments on commit 9bbdfd0

Please sign in to comment.