diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index eeb6a75..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,36 +0,0 @@ ---- -version: 2 -updates: -- package-ecosystem: pip - directory: "/" - schedule: - interval: weekly - day: thursday - time: '14:00' - timezone: Europe/Berlin - pull-request-branch-name: - separator: "-" - open-pull-requests-limit: 99 - commit-message: - prefix: "module:" - target-branch: three - versioning-strategy: lockfile-only - allow: - - dependency-type: direct - - dependency-type: indirect -- package-ecosystem: pip - directory: "/" - schedule: - interval: weekly - day: thursday - time: '14:00' - timezone: Europe/Berlin - pull-request-branch-name: - separator: "-" - open-pull-requests-limit: 99 - commit-message: - prefix: "module:" - versioning-strategy: lockfile-only - allow: - - dependency-type: direct - - dependency-type: indirect diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml deleted file mode 100644 index 1e442f6..0000000 --- a/.github/workflows/ci.yml +++ /dev/null @@ -1,44 +0,0 @@ ---- -name: ci - -on: - push: - branches: [master, three] - pull_request: - branches: [master, three] - workflow_dispatch: - schedule: - - cron: '37 4 * * 4' # weekly on thursday morning - -jobs: - build: - runs-on: ubuntu-latest - strategy: - matrix: - python-version: - - '2.7' - # Python 3.4 on GHA doesn't work due to fastdiff==0.2.0 failing with: - # pkg_resources.DistributionNotFound: The 'setuptools_scm>=1.15.0' distribution was not found and is required by the application - #- '3.4' - - '3.5' - - '3.7' - - '3.9' - steps: - - uses: actions/checkout@v2 - - run: python -m pip install --upgrade pip - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 - with: - python-version: ${{ matrix.python-version }} - - name: Install Poetry - run: | - pip install poetry==1.0.10 - - name: Install dependencies - run: | - poetry install - - name: Lint - run: | - make lint - - name: Test - run: | - make test diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 2a7716a..0000000 --- a/.travis.yml +++ /dev/null @@ -1,13 +0,0 @@ ---- -os: linux -language: python -python: -- "3.4" - -install: -- pip install poetry==1.0.10 -- poetry install - -script: -- make lint -- make test diff --git a/Makefile b/Makefile index 8552437..a9fece6 100644 --- a/Makefile +++ b/Makefile @@ -21,17 +21,6 @@ lint: ## Lint all source code test: ## Run all tests poetry run pytest -.PHONY: rebase-three-branch -rebase-three-branch: ## Rebase the py3 branch with master contents - git stash - git checkout master - git pull - git checkout three - git rebase -i origin/master - git push --force-with-lease - git checkout master - git stash pop - .PHONY: help help: ## Print this help text @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-15s\033[0m %s\n", $$1, $$2}' diff --git a/README.md b/README.md index 1e500b2..1596d1e 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # python-veml6070 -![ci](https://github.com/cmur2/python-veml6070/workflows/ci/badge.svg?branch=master) [![Build Status](https://travis-ci.com/cmur2/python-veml6070.svg?branch=master)](https://travis-ci.com/cmur2/python-veml6070) +**Note: This `legacy` branch is unmaintained and contains the Python 2.7 compatible code.** A Python library for accessing the [VEML6070 digital UV light sensor](http://www.vishay.com/docs/84277/veml6070.pdf) from Vishay via `python-smbus` using the I2C interface.