-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from akaihola/release-1.0.0
Release 1.0.0
- Loading branch information
Showing
6 changed files
with
105 additions
and
19 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,48 @@ | ||
name: build | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, windows-latest, macos-latest] | ||
python-version: [3.7, 3.8, 3.9] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies | ||
run: > | ||
pip install -e '.[test]' | ||
- name: Test with pytest | ||
run: > | ||
pytest | ||
- name: Check formatting and linting with Darker | ||
run: > | ||
darker | ||
--diff | ||
--check | ||
--revision=origin/master... | ||
--isort | ||
--lint=pylint | ||
--lint=flake8 | ||
. | ||
- name: Do static type checking with Mypy | ||
run: > | ||
mypy . |
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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
Upcoming | ||
======== | ||
|
||
|
||
1.0.0 / 2021-09-11 | ||
=================== | ||
|
||
Added | ||
----- | ||
|
||
- Type hints | ||
- Contributors list | ||
- Install instructions in the README file | ||
- Support only Python 3.7 and later | ||
- Flush last line in ``pg_dump_splitsort.py`` | ||
- ``pg_split_schema_dump.py`` for splitting a schema-only dump into multiple SQL files | ||
|
||
|
||
0.9.1 / 2015-03-10 | ||
================== | ||
|
||
Added | ||
----- | ||
|
||
Document ``pg_incremental_backup.py`` in the README file | ||
|
||
|
||
0.9 / 2015-03-10 | ||
================ | ||
|
||
Added | ||
----- | ||
|
||
- The ``pg_incremental_backup.py`` script with remote repository URL as an optional | ||
command line argument | ||
- The New (3-clause) BSD license | ||
- Unit tests, a ``setup.py`` script and a README file with a usage example | ||
- ``pg_dump_splitsort.py`` for sorting and splitting ``pg_dump`` output |
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,6 +1,6 @@ | ||
[metadata] | ||
name = pgtricks | ||
version = 0.9.2.dev | ||
version = 1.0.0 | ||
author = Antti Kaihola | ||
author_email = [email protected] | ||
license = BSD | ||
|
@@ -16,6 +16,7 @@ classifiers = | |
Operating System :: OS Independent | ||
Programming Language :: Python :: 3.7 | ||
Programming Language :: Python :: 3.8 | ||
Programming Language :: Python :: 3.9 | ||
Topic :: Database | ||
Topic :: System :: Archiving :: Backup | ||
keywords = | ||
|
@@ -41,5 +42,13 @@ console_scripts = | |
|
||
[options.extras_require] | ||
test = | ||
darker[isort] | ||
flake8 | ||
mypy | ||
pylint | ||
pytest | ||
pytest-mypy | ||
|
||
[flake8] | ||
max-line-length = 88 | ||
extend-ignore = E203 |