Skip to content

Commit

Permalink
Merge branch 'master' into patch-1
Browse files Browse the repository at this point in the history
* master: (111 commits)
  chore: add how to run docs locally
  Improve documentation with direct use of MkDocs (#398)
  feat(cli): add support for execution via 'python -m' (#395)
  Use built-in unittest.mock instead of third-party mock
  Skip test_ipython if IPython is not available (#397)
  Docs: Improve documentation for variables without value (#390)
  Use `open` instead of `io.open`
  Fix link typo in changelog
  Release version 0.20.0
  Don't mark wheels as universal (#387)
  Fix installing entry points
  Add encoding parameter to {get,set,unset}_key
  chore: add test with Python 3.11 (#368)
  Release version 0.19.2
  Add missing trailing newline when adding new value
  Release version 0.19.1
  Add Python 3.10 support (#359)
  CHANGELOG.md: Fix typos discovered by codespell
  Release version 0.19.0
  Allow any text stream (`IO[str]`) as `stream`
  ...
  • Loading branch information
theskumar committed Jun 5, 2022
2 parents 46c3232 + 29bceb8 commit 102dcff
Show file tree
Hide file tree
Showing 36 changed files with 1,917 additions and 1,155 deletions.
7 changes: 0 additions & 7 deletions .bumpversion.cfg

This file was deleted.

11 changes: 0 additions & 11 deletions .coveragerc

This file was deleted.

25 changes: 25 additions & 0 deletions .github/workflows/release.yml
@@ -0,0 +1,25 @@
name: Upload Python Package

on:
release:
types: [created]

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
make release
25 changes: 25 additions & 0 deletions .github/workflows/test.yml
@@ -0,0 +1,25 @@
name: Run Tests

on: [push, pull_request]

jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 8
matrix:
os:
- ubuntu-latest
python-version: [3.5, 3.6, 3.7, 3.8, 3.9, "3.10", "3.11.0-alpha - 3.11", pypy3]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox tox-gh-actions
- name: Test with tox
run: tox
4 changes: 0 additions & 4 deletions .pyup.yml

This file was deleted.

50 changes: 0 additions & 50 deletions .travis.yml

This file was deleted.

0 comments on commit 102dcff

Please sign in to comment.