-
Notifications
You must be signed in to change notification settings - Fork 16
Drop support for Python 3.6 #64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Samira-El
merged 16 commits into
transferwise:master
from
edgarrmondragon:drop-python-3.6
May 13, 2022
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
b789c92
chore: drop 3.6 from test matrix, add 3.9 and 3.10
edgarrmondragon e477698
chore: add pre-commit
edgarrmondragon 597c653
chore: use `python_requires` option in setup.py
edgarrmondragon ec832b7
chore: add fail-fast: true
edgarrmondragon 7f8562e
test: use pytest instead of nose
edgarrmondragon 091b638
test: run `coverage` tool and echo combined coverage report
edgarrmondragon 0c3cf31
chore: auto-update actions with dependabot
edgarrmondragon e25ec05
add workflow_dispatch trigger
edgarrmondragon 350e530
remove nose
edgarrmondragon dbb947c
test: fail for coverage under 76%
edgarrmondragon 74fb6d1
pinned coverage to version 6.*
edgarrmondragon 12c5140
set max line length to 120
edgarrmondragon f3b1e46
test: remove */site-packages/ path equivalence to singer/
edgarrmondragon e3d095d
chore: Bump orjson to 3.6.5 to make it compatible with MacOS on 3.10
edgarrmondragon c076ba2
chore: add pylint pre-commit hook
edgarrmondragon 58044d6
Separate coverage steps
edgarrmondragon File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
|
|
@@ -86,7 +86,6 @@ ENV/ | |
| # Pipenv | ||
| Pipfile | ||
| Pipfile.lock | ||
| pyproject.toml | ||
|
|
||
| # Spyder project settings | ||
| .spyderproject | ||
|
|
||
This file contains hidden or 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 @@ | ||
| # See https://pre-commit.com for more information | ||
|
|
||
| # See https://pre-commit.ci/ for information about the continuous | ||
| # integration service for the pre-commit framework | ||
| ci: | ||
| autofix_prs: false | ||
| autoupdate_schedule: weekly | ||
| autoupdate_commit_msg: 'chore(deps): pre-commit autoupdate' | ||
|
Samira-El marked this conversation as resolved.
|
||
|
|
||
|
|
||
| # See https://pre-commit.com/hooks.html for more hooks | ||
| repos: | ||
| - repo: https://github.com/pre-commit/pre-commit-hooks | ||
| rev: v4.2.0 | ||
| hooks: | ||
| - id: trailing-whitespace | ||
| - id: end-of-file-fixer | ||
| - id: check-yaml | ||
| - id: check-added-large-files | ||
| - repo: https://github.com/asottile/pyupgrade | ||
| rev: v2.32.0 | ||
| hooks: | ||
| - id: pyupgrade | ||
| name: pyupgrade (python) | ||
| args: [--py37-plus] | ||
| - repo: https://github.com/pycqa/isort | ||
| rev: 5.10.1 | ||
| hooks: | ||
| - id: isort | ||
| name: isort (python) | ||
| - repo: https://github.com/psf/black | ||
| rev: 22.3.0 | ||
| hooks: | ||
| - id: black | ||
| name: black (python) | ||
| - repo: https://github.com/PyCQA/pylint | ||
| rev: v2.13.8 | ||
| hooks: | ||
| - id: pylint | ||
| name: pylint (python) | ||
This file contains hidden or 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 hidden or 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,26 @@ | ||
| [tool.black] | ||
| line-length = 120 | ||
|
|
||
| [tool.coverage.paths] | ||
| source = ["singer"] | ||
|
|
||
| [tool.coverage.run] | ||
| branch = true | ||
| source = ["singer"] | ||
|
|
||
| [tool.coverage.report] | ||
| fail_under = 76.0 | ||
|
|
||
| [tool.isort] | ||
| profile = "black" | ||
| multi_line_output = 3 | ||
| src_paths = "singer" | ||
| use_parentheses = true | ||
| known_first_party = "singer" | ||
| include_trailing_comma = true | ||
| add_imports = [ | ||
| "from __future__ import annotations", | ||
| ] | ||
|
Samira-El marked this conversation as resolved.
|
||
|
|
||
| [tool.pytest.ini_options] | ||
| addopts = "-v --doctest-modules" | ||
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.