-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make sure click_params works with click 8.X (#3)
* fix: fix various issues introduced by click 8.X * tests(nox): add pypy3 to the list of python versions to run tests against * ci: removed travis configuration file * docs: update project version and changelog files * docs: improved documentation installed package mkdocs-material to use the material design Co-authored-by: le_woudar <rollandkev@yahoo.fr>
- Loading branch information
Showing
18 changed files
with
939 additions
and
373 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
build: | ||
timeout-minutes: 20 | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
max-parallel: 6 | ||
matrix: | ||
os: [ 'ubuntu-latest', 'macos-latest' ,'windows-latest' ] | ||
python: [ pypy3, 3.6, 3.7, 3.8, 3.9 ] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python ${{ matrix.python }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python }} | ||
- name: Install python dependencies | ||
run: python -m pip install -U pip nox | ||
- name: Lint | ||
run: nox -s lint | ||
if: matrix.os == 'ubuntu-latest' && matrix.python == '3.9' | ||
- name: Tests | ||
run: nox -s tests-${{ matrix.python }} | ||
env: | ||
CODECOV_TOKEN: ${{ secrets.codecov_token }} | ||
- name: Build and deploy | ||
run: nox -s deploy | ||
if: > | ||
github.event_name == 'push' && contains(github.ref, 'refs/tags/') && | ||
matrix.os == 'ubuntu-latest' && matrix.python == '3.9' | ||
env: | ||
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.pypi_token }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ | |
.coverage | ||
htmlcov | ||
.nox | ||
coverage.xml | ||
|
||
# byte-compiled / optimized | ||
__pycache__ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,29 @@ | ||
# Changelog | ||
|
||
## Version 0.1.1 | ||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
Released on 2020-01-06 | ||
## [Unreleased] | ||
|
||
## [0.1.2] - 2021-05-16 | ||
|
||
### Changed | ||
|
||
- Updated code to be compatible with Click 8.X | ||
|
||
## [0.1.1] - 2020-01-06 | ||
|
||
### Added | ||
- Added usage of nox package for test automation. | ||
- Changed .travis.yml and appveyor.yml to take in account nox. | ||
- Replaced pipenv by poetry to better manage package dependencies. | ||
- Added poetry package to better manage package dependencies | ||
|
||
## Version 0.1.0 | ||
### Changed | ||
- Changed .travis.yml and appveyor.yml to take in account nox. | ||
|
||
### Removed | ||
- Removed pipenv in favor of poetry. | ||
|
||
Released on 2019-07-21 | ||
## [0.1.0] - 2019-07-21 | ||
|
||
### Added | ||
- First release of the package. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,29 @@ | ||
# Changelog | ||
|
||
## Version 0.1.1 | ||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
Released on 2020-01-06 | ||
## [Unreleased] | ||
|
||
## [0.1.2] - 2021-05-16 | ||
|
||
### Changed | ||
|
||
- Updated code to be compatible with Click 8.X | ||
|
||
## [0.1.1] - 2020-01-06 | ||
|
||
### Added | ||
- Added usage of nox package for test automation. | ||
- Changed .travis.yml and appveyor.yml to take in account nox. | ||
- Replaced pipenv by poetry to better manage package dependencies. | ||
- Added poetry package to better manage package dependencies | ||
|
||
## Version 0.1.0 | ||
### Changed | ||
- Changed .travis.yml and appveyor.yml to take in account nox. | ||
|
||
### Removed | ||
- Removed pipenv in favor of poetry. | ||
|
||
Released on 2019-07-21 | ||
## [0.1.0] - 2019-07-21 | ||
|
||
### Added | ||
- First release of the package. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
click==8.0.0 | ||
validators==0.18.2 | ||
mkdocs-material==7.1.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.