Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
812 commits
Select commit Hold shift + click to select a range
4603c4d
Merge pull request #396 from pcattori/docs-maintainers
pcattori Jun 27, 2020
f6b6112
Consolidate methods for building docs into noxfile
pcattori Jun 27, 2020
5b8b3c4
Merge pull request #397 from pcattori/local-ci-docs
pcattori Jun 27, 2020
bfedc3a
Change doc styling
pcattori Jun 27, 2020
88ed705
Increase h1 font size
pcattori Jun 27, 2020
31c2fd9
Merge pull request #395 from pcattori/doc-style
pcattori Jun 29, 2020
a51de9c
Ignore linting errors explicitly for top-level __init__.py
pcattori Jun 29, 2020
3cc41ff
Move JsonDict type into _types package
pcattori Jun 29, 2020
a767e10
Move URL into _types package
pcattori Jun 29, 2020
2a3886a
Include reusable VS Code settings
pcattori Jun 29, 2020
9db4898
Refactor primitive attribute types to be an Enum
pcattori Jun 29, 2020
4ff349d
Refactor attributes
pcattori Jun 29, 2020
2f59e3c
Namespace attributes/subattribute.py as attributes/sub.py
pcattori Jun 29, 2020
10a8945
Namespace attribute exceptions
pcattori Jun 29, 2020
83497d4
Rename tc.attributes to tc.attribute
pcattori Jun 29, 2020
fef73a0
Demote pandas to a dev dependency
pcattori Jun 29, 2020
54303a4
Convert relative imports to absolute imports
pcattori Jun 30, 2020
8406a2b
Fix autodoc defaults deprecation warning
pcattori Jun 30, 2020
0064a06
Explain why the `_types` package is necessary
pcattori Jun 30, 2020
33d0aa9
Merge pull request #398 from pcattori/types-package
pcattori Jun 30, 2020
a291f99
Hide beta module from users
pcattori Jul 1, 2020
cfb7d34
Merge pull request #403 from pcattori/hide-beta
pcattori Jul 1, 2020
aa55c09
Simplified beta check
pcattori Jul 1, 2020
7f643d2
Merge pull request #404 from pcattori/beta-cleanup
pcattori Jul 1, 2020
a1910b8
Ignore F401 flake8 error explicitly
pcattori Jul 2, 2020
6bf029a
Merge pull request #405 from pcattori/flake8-per-file-ignores
pcattori Jul 2, 2020
a4658c0
Stop tracking docs dependencies in two places
pcattori Jul 2, 2020
298e637
Upgrade docs dependencies
pcattori Jul 2, 2020
8f7d84b
Upgrade `black` format tool
pcattori Jul 2, 2020
1f2e99c
Upgrade `mypy` typecheck tool
pcattori Jul 2, 2020
f50fa04
Merge pull request #406 from pcattori/upgrade-dependencies
pcattori Jul 2, 2020
472572a
Move dataset types into _types/dataset.py
pcattori Jul 2, 2020
bcffbc3
Merge pull request #407 from pcattori/dataset-types
pcattori Jul 2, 2020
415a87d
Move project types into _types/project.py
pcattori Jul 2, 2020
b0c2b66
Merge pull request #408 from pcattori/project-types
pcattori Jul 2, 2020
a4901bd
Move operation type into _types/operation.py
pcattori Jul 2, 2020
1a92478
Move instance type to _types/instance.py
pcattori Jul 2, 2020
d8673c1
Move session type into _types/session.py
pcattori Jul 2, 2020
ca03c96
Move UsernamePasswordAuth type to _types/auth.py
pcattori Jul 2, 2020
eaf03b5
Fix Project import to be directly from _types package
pcattori Jul 2, 2020
f171252
Merge pull request #409 from pcattori/move-types
pcattori Jul 2, 2020
e7ed6be
Consolidate primary key exceptions into their own module
pcattori Jul 2, 2020
f12dddb
Merge pull request #410 from pcattori/primary-key-exceptions
pcattori Jul 2, 2020
67e4583
Create a base class for Tamr Client exceptions
pcattori Jul 2, 2020
7618bcf
Merge pull request #411 from pcattori/tamr-client-exception
pcattori Jul 2, 2020
4b9102d
Bump version in preparation for release
pcattori Jul 2, 2020
71bb439
Merge pull request #412 from pcattori/version-bump
pcattori Jul 2, 2020
0db66bf
Fix errors related to TUC pandas usage
pcattori Jul 2, 2020
0a50a94
Merge pull request #414 from pcattori/fix-tuc-pandas
pcattori Jul 2, 2020
78d35f3
Add operation.from_resource_id function.
skalish Jul 8, 2020
1b7248a
Add testing for operation.from_resource_id.
skalish Jul 8, 2020
d83bc21
Update CHANGELOG and docs.
skalish Jul 8, 2020
daf4c32
Add tests for TUC operation from_resource_id method.
skalish Jul 8, 2020
ba28eca
Add operation method from_resource_id to TUC.
skalish Jul 8, 2020
71d6de1
Update CHANGELOG
skalish Jul 8, 2020
6e050da
Remove unnecessary headers argument from client.get calls.
skalish Jul 8, 2020
cce4cd4
Merge pull request #420 from skalish/operation-from-id
pcattori Jul 8, 2020
01d2d02
inital tx add
keziah-tamr Jul 10, 2020
66336f0
finish testing
keziah-tamr Jul 10, 2020
5dd225b
finish testing
keziah-tamr Jul 10, 2020
d42c5f6
add docs
keziah-tamr Jul 10, 2020
3afc674
rvert response.py
keziah-tamr Jul 10, 2020
07a6457
pr comment fixes
keziah-tamr Jul 13, 2020
e9efc33
remove specific errors, update changelog
keziah-tamr Jul 13, 2020
1052727
doc fix
keziah-tamr Jul 14, 2020
a24c31d
Merge pull request #421 from keziah-tamr/transformations
pcattori Jul 14, 2020
7e24f6f
Fix missing return type-hint and duplicated Raises line in docstring.
skalish Jul 28, 2020
9735615
Merge pull request #422 from skalish/minor-fixes
pcattori Jul 29, 2020
e4205f2
Create test utility for faking (mocking) Tamr
pcattori Jul 30, 2020
bbece5f
Add reminders to move fake session, instance, etc.. to fake utility
pcattori Jul 30, 2020
11fa860
Convert test_project to use fake utility
pcattori Jul 30, 2020
32adf06
Transfer mocks into fakes utility
pcattori Jul 30, 2020
697278e
Include type stub for responses.RequestsMock context manager
pcattori Jul 30, 2020
630302a
Convert tranformation tests to use fake utility
pcattori Jul 31, 2020
e6bd9c6
Document description and usage of fake testing utilities
pcattori Jul 31, 2020
42f5368
Add path shortcut for fake JSON data
pcattori Jul 31, 2020
47f08ad
Add "How to write tests" in Contributor guide
pcattori Aug 1, 2020
a7cb558
Fix typo: "pre-requisites" -> "prerequisites"
pcattori Aug 1, 2020
87eb698
Merge pull request #424 from pcattori/fake-json
pcattori Aug 1, 2020
aeea8c7
Quick fix to record update function and tests.
skalish Aug 7, 2020
95767d2
docs to integrate black with intelliJ
Aug 7, 2020
763b658
Merge pull request #430 from abafzal/intellij-black
pcattori Aug 7, 2020
e9959ef
Merge branch 'master' into fix-record-updates
pcattori Aug 7, 2020
8eebaa7
Merge pull request #429 from skalish/fix-record-updates
pcattori Aug 7, 2020
7b0d75d
Update docs to improve null handling in dataframes
olivito Aug 7, 2020
65cd493
Merge branch 'master' into patch-2
pcattori Aug 7, 2020
0a1b54d
Merge pull request #431 from olivito/patch-2
pcattori Aug 7, 2020
19b862d
Ignore venv directory when linting
Aug 11, 2020
a8148f2
Add Ambiguous exception for datasets
Aug 11, 2020
788f9d0
Document how to run tests without prn alias
Aug 12, 2020
c30c6f5
Support categorization projects and labels
Aug 12, 2020
6d067fe
Merge pull request #425 from abafzal/cat_labels
pcattori Aug 12, 2020
1bad7d4
Move tc.attribute.from_dataset_all function to tc.dataset.attributes,…
skalish Aug 6, 2020
1e7f3ec
Update docs.
skalish Aug 6, 2020
712a705
Add option to pass --diff flag when running nox format dev task.
skalish Aug 6, 2020
3f53d8f
Update basic dataset testing.
skalish Aug 10, 2020
82162f2
Update remaining dataset._dataset tests.
skalish Aug 10, 2020
500a343
Update attribute tests to use fake.json instead of responses.
skalish Aug 10, 2020
7564748
Change attribute testing that uses fake.json to check against hard-co…
skalish Aug 12, 2020
ac800e7
Update changelog.
skalish Aug 12, 2020
5a4bb3b
Merge pull request #1 from Datatamer/master
ianbakst Aug 13, 2020
ffb0e9a
Add function to return tamr version
ianbakst Aug 13, 2020
6563d95
fix formatting
ianbakst Aug 13, 2020
cfbd6d1
Refer to attribute.type.DEFAULT instead of full array string expression.
skalish Aug 13, 2020
e986b5a
Removed hidden _version function
ianbakst Aug 13, 2020
1994f0e
Merge pull request #428 from skalish/attribute-from-dataset
pcattori Aug 13, 2020
ba2ed14
Update tamr_client/instance.py
ianbakst Aug 13, 2020
79bcdf2
Update instance.py
ianbakst Aug 13, 2020
eeaef3c
Add test of instance.version()
ianbakst Aug 14, 2020
28616d8
Fix test lint/format
ianbakst Aug 14, 2020
6037de0
Update CHANGELOG.md
ianbakst Aug 14, 2020
d8644c8
updated docs
ianbakst Aug 14, 2020
ceea755
fix errant backspace in changelog.md
ianbakst Aug 14, 2020
a6f972b
Merge branch 'master' into master
ianbakst Aug 14, 2020
28b8a75
Merge pull request #434 from ianbakst/master
pcattori Aug 14, 2020
e466239
Introduce Architectural Decision Records (ADRs)
pcattori Aug 14, 2020
87f82ec
Backfill historical ADRs
pcattori Aug 14, 2020
4ec7db6
Merge pull request #436 from pcattori/adr
pcattori Aug 17, 2020
8d9d006
Create projects in Tamr
Aug 14, 2020
ba3b355
Merge branch 'master' into create_project
pcattori Aug 17, 2020
d8755d1
Merge pull request #435 from abafzal/create_project
pcattori Aug 17, 2020
c370bd6
Change test of record.stream to use fake.json. Add ndjson handling to…
skalish Aug 12, 2020
9b5b2fc
Change adding of responses in fake.json to allow checking of request …
skalish Aug 14, 2020
0d9e171
Ensure every fake response has a status.
skalish Aug 14, 2020
6a9a47b
Clean up fake.check_request_body and fake.add_response.
skalish Aug 14, 2020
5f0a5d2
Add test of request with json payload. Tests of ndjson payload alread…
skalish Aug 14, 2020
28923db
Update remaining tc.record tests.
skalish Aug 14, 2020
46d604c
Change body variable names in check_request_body to conform to standa…
skalish Aug 19, 2020
7fa2e35
Remove unnecessary list comprehension.
skalish Aug 19, 2020
fb3090a
Split callback and check_request_body. Rename with _ prefix for both.
skalish Aug 19, 2020
1f7ee65
Add descriptive docstrings.
skalish Aug 19, 2020
146c883
Merge pull request #432 from skalish/new-record-tests
pcattori Aug 20, 2020
997e952
Add functions for basic mastering workflow operations.
skalish Aug 19, 2020
2c684ec
Add module docstring.
skalish Aug 20, 2020
8660040
Update docs.
skalish Aug 20, 2020
50f4cdb
Merge pull request #440 from skalish/mastering-ops
pcattori Aug 20, 2020
1756176
Update changelog.
skalish Aug 20, 2020
9e6708e
Merge pull request #441 from skalish/mastering-ops
pcattori Aug 20, 2020
16b68ee
Fix request urls and wrap async functions in user-exposed waiting fun…
skalish Aug 20, 2020
7a199cc
Remove redundant docstrings for hidden async functions.
skalish Aug 21, 2020
e796178
Remove unneeded instance parameter from unified.from_project.
skalish Aug 21, 2020
3be8d08
Update tc.unified tests.
skalish Aug 21, 2020
df9610f
Add refresh dataset functionality.
ianbakst Aug 21, 2020
0e6192a
Add testing of async mastering op functions.
skalish Aug 21, 2020
6b3f712
fixed linting
ianbakst Aug 21, 2020
16b20c7
docstrings
ianbakst Aug 21, 2020
61bbb54
Add line to module docstring refering to async functions.
skalish Aug 21, 2020
660949e
add refresh to dataset.__init__.py
ianbakst Aug 21, 2020
710b343
Merge pull request #442 from skalish/mastering-ops
pcattori Aug 21, 2020
0dae67d
hoist Ambiguous exception
ianbakst Aug 21, 2020
cd38ed7
Merge branch 'master' of https://github.com/Datatamer/tamr-client
ianbakst Aug 21, 2020
e4a1a77
added testing
ianbakst Aug 21, 2020
e0dfe65
remove unnecessary headers from materialize and unified.apply_changes…
ianbakst Aug 21, 2020
47cce86
removed hoist of dataset.Ambiguous exception
ianbakst Aug 21, 2020
ee50e1e
Update tamr_client/dataset/_dataset.py
ianbakst Aug 21, 2020
5eb2415
Update tamr_client/dataset/_dataset.py
ianbakst Aug 21, 2020
2d39617
rename "refresh" to "materialize"
ianbakst Aug 21, 2020
79a3490
fix test_materialize
ianbakst Aug 21, 2020
ffb225f
fixed refresh -> materialize and all linting/formatting/testing errors
ianbakst Aug 21, 2020
f305b1a
added to docs and changelog
ianbakst Aug 21, 2020
a132138
Update tamr_client/dataset/unified.py
ianbakst Aug 21, 2020
aaa34e2
sounds good. wasn't 100% sure.
ianbakst Aug 21, 2020
ae7a619
Update tamr_client/dataset/_dataset.py
ianbakst Aug 21, 2020
f276f57
Merge pull request #443 from ianbakst/master
pcattori Aug 22, 2020
4fad6ba
Add dataset.by_name function with tests and docs.
skalish Aug 21, 2020
d8c97a1
Add project.by_name function with tests and docs.
skalish Aug 21, 2020
c06dce7
Update changelog.
skalish Aug 21, 2020
57dd2d3
Rename from_resource_id to by_resource_id.
skalish Aug 26, 2020
75662ef
Rename _from_url to _by_url.
skalish Aug 26, 2020
0f10ba3
Merge pull request #445 from skalish/by-name
pcattori Sep 1, 2020
76078c9
Add categorization workflow functions with unit tests and docs.
skalish Aug 21, 2020
bb7d6fd
Add schema mapping workflow functions with docs. Nothing to test.
skalish Aug 21, 2020
53d4116
Update changelog.
skalish Aug 21, 2020
d65211b
Move function manual_labels from tc.categorization.project to tc.cate…
skalish Sep 1, 2020
24eafcd
Remove _update_unified_dataset_async from _mastering, _categorization…
skalish Sep 1, 2020
d72d7eb
Merge pull request #446 from skalish/cat-ops
pcattori Sep 1, 2020
e96bbf8
Add dataset deletion functionality.
skalish Sep 1, 2020
97d5fc2
Add functionality to delete all records in a dataset (truncate it).
skalish Sep 1, 2020
fc365da
Add functionality to stream all datasets in an instance, with optiona…
skalish Sep 2, 2020
f655fa0
Add functionality to stream all projects in an instance, with optiona…
skalish Sep 2, 2020
867c287
Add dataset creation functionality.
skalish Sep 2, 2020
5f21dfb
Update changelog.
skalish Sep 2, 2020
0625243
Add dataset.AlreadyExists error handling and fix exception references…
skalish Sep 3, 2020
63f0433
Merge pull request #452 from skalish/dataset-crud
pcattori Sep 3, 2020
fd9d966
Complete test coverage of _attribute.create
skalish Sep 3, 2020
498de75
Remove description from sub-attributes.
skalish Sep 3, 2020
872b838
Increase test coverage of attribute.type
skalish Sep 3, 2020
6f5751c
Add fake.json mock server tests for project creation.
skalish Sep 3, 2020
b96af87
Add test that password is redacted in representation of UsernamePassw…
skalish Sep 3, 2020
b55ba82
Merge pull request #453 from skalish/test-cov
pcattori Sep 6, 2020
892a3d4
Add first Hello World tutorial.
skalish Sep 6, 2020
821a377
Update changelog.
skalish Sep 10, 2020
0d94457
Merge pull request #454 from skalish/first-tutorial
pcattori Sep 10, 2020
bc7c2d9
Convert code blocks in get_version tutorial to rst and put script in …
skalish Sep 14, 2020
4da2df3
Add examples to CI tasks and fix function name error in tutorial.
skalish Sep 15, 2020
c76ec25
Update changelog.
skalish Sep 15, 2020
4297599
Merge pull request #456 from skalish/examples
pcattori Sep 15, 2020
864c9b3
Add Golden Records project with update and publish functions. Creatio…
skalish Oct 1, 2020
4844167
Update changelog.
skalish Oct 14, 2020
27e8d7d
Merge pull request #461 from skalish/tc-golden-records
pcattori Oct 14, 2020
f7d8699
Add operation.check utility
pcattori Oct 15, 2020
17eae19
Merge pull request #465 from pcattori/operation-check
skalish Oct 16, 2020
db04e4e
Add skalish to maintainer list
skalish Oct 16, 2020
0beb17d
Merge pull request #466 from skalish/add-maintainer
pcattori Oct 16, 2020
23e4a9b
Remove dependency on simplejson and use a custom encoder when upserti…
skalish Oct 25, 2020
b200ceb
Add module-level docstring to _custom_encoder.py
skalish Oct 26, 2020
b51ba7d
Simplify _custom_encoder.py
skalish Oct 26, 2020
9967243
Set allow_nan=False to catch NaN's before making an update request.
skalish Oct 26, 2020
0ea4c4e
Update tests to check for NaN handling.
skalish Oct 26, 2020
e02e228
Add deprecation warnings.
skalish Oct 26, 2020
a33ac72
Rename _custom_encoder.py to more descriptive _ignore_nan_encoder.py
skalish Oct 27, 2020
bbfdf70
Update changelog
skalish Oct 27, 2020
11a6869
Make ignore_nan keyword-only and note that it is deprecated in functi…
skalish Oct 27, 2020
22651b3
Merge pull request #468 from skalish/json-encoder
pcattori Oct 27, 2020
23b3283
Add tamr-client continuous mastering tutorial.
skalish Oct 26, 2020
631f171
Update changelog.
skalish Oct 27, 2020
c7a1dd3
Merge pull request #469 from skalish/mastering-tutorial
pcattori Oct 28, 2020
79f36a6
Update continuous mastering tutorial based on feedback.
skalish Oct 28, 2020
e11e8d4
Merge pull request #471 from skalish/mastering-tutorial
pcattori Nov 3, 2020
842680e
version bump to 0.14.0-dev
pcattori Nov 4, 2020
844c014
Merge pull request #472 from pcattori/version-bump-0.14.0-dev
pcattori Nov 4, 2020
adf8a06
Update checkout and setup-python actions to v2
skalish Nov 24, 2020
aafbf97
Merge pull request #475 from skalish/update-github-actions
pcattori Nov 24, 2020
c41b7d5
Add functionality to get, initiate and cancel Tamr backups and restores
Aug 20, 2020
af6dc6e
Change implementation of Tamr restore functionality
skalish Nov 24, 2020
20dcc8f
Remove redundant resource_id attribute of Backup and Restore dataclas…
skalish Dec 2, 2020
7ac2601
Add backup.poll function.
skalish Dec 2, 2020
62389b5
Merge pull request #438 from abafzal/backup_restore
skalish Dec 3, 2020
76e685f
style(ci): format yaml indentation
pcattori Jan 6, 2021
3f4b33b
ci(commitlint): enforce conventional commits
pcattori Jan 6, 2021
c7a331a
ci(release): automate releases via semantic-release
pcattori Jan 7, 2021
c956291
docs(changelog): remove redundant changelog
pcattori Jan 7, 2021
9483f59
docs: explain conventional commits and semantic-release to contributors
pcattori Jan 7, 2021
e16bb85
Merge pull request #476 from pcattori/semantic-release
pcattori Jan 7, 2021
8c3935b
ci(release): only run release CI after other checks have passed
pcattori Jan 8, 2021
1916f25
ci: do not run CI on obsoleted release branches
pcattori Jan 8, 2021
e3aef7d
ci(release): fix github auth
pcattori Jan 8, 2021
5673c67
Merge pull request #477 from pcattori/fix-semantic-release
pcattori Jan 8, 2021
3846350
docs(readme): remove reference to nonexistant changelog
pcattori Jan 8, 2021
f63f798
fix(tc): change record.stream to be a generator instead of returning …
skalish Feb 5, 2021
f1aeaa0
Merge pull request #483 from skalish/fix-record-stream
pcattori Feb 5, 2021
3789833
feat(tc): add a catch-all project dataclass to handle project types n…
skalish Feb 5, 2021
7aaa771
Merge pull request #484 from skalish/unknown-projects
pcattori Feb 5, 2021
08270a9
ci(release): do not use pip to install poetry
pcattori Feb 5, 2021
7cad17b
Merge pull request #486 from pcattori/fix-ci-poetry
pcattori Feb 5, 2021
bee6183
feat(tc): add composite function to create a dataset from a pandas da…
skalish Jan 14, 2021
4cf95f4
test(tc): add tests of dataframe.create_dataset and its error handling
skalish Jan 14, 2021
d6c0f23
Merge pull request #478 from skalish/dataset-from-dataframe
pcattori Feb 5, 2021
8c2e010
docs(adr): add adr specifying policy on optimization of new features
skalish Feb 5, 2021
0a7ac7c
Merge pull request #485 from skalish/adr-optimization
pcattori Feb 5, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .adr-dir
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
docs/contributor-guide/adr/
9 changes: 6 additions & 3 deletions .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,15 @@
# https://ljvmiranda921.github.io/notebook/2018/06/21/precommits-using-black-and-flake8/

[flake8]
ignore = E203, E266, E501, W503, F403, F401
ignore = E203, E266, E501, W503, F403
max-line-length = 88
max-complexity = 18
select = B,C,E,F,I,W,T4,B9
exclude = build,.venv,*.egg-info
exclude = build,venv,.venv,*.egg-info
per-file-ignores =
tamr_client/__init__.py:E402,F401,I100,I202
tamr_client/*/__init__.py:F401

# flake8-import-order plugin
import-order-style = google
application-import-names = tamr_unify_client
application-import-names = tamr_client, tamr_unify_client, tests
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/BUG_REPORT.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ Search open/closed issues before submitting since someone might have asked the s
| Software | Version(s) |
| ----------------- | ---------- |
| tamr-unify-client |
| Tamr Unify server |
| Tamr server |
| Python |
| Operating System |
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/QUESTION.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ Search open/closed issues before submitting since someone might have asked the s
| Software | Version(s) |
| ----------------- | ---------- |
| tamr-unify-client |
| Tamr Unify server |
| Tamr server |
| Python |
| Operating System |
17 changes: 4 additions & 13 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
<!---
Thanks for filing a pull request 😄 ! Before you submit, please read the following:

Search open/closed issues before submitting since someone might have pushed the same thing before!
-->

# ↪️ Pull Request

<!---
Expand All @@ -13,13 +7,10 @@ Please look for any issues that this PR resolves and tag them in the PR.

## 💻 Examples

<!-- Examples help us understand the requested feature better -->
<!-- Examples help us understand the proposed feature better -->

## ✔️ PR Todo

- [ ] Added/updated testing for this change
- [ ] Included links to related issues/PRs
- [ ] Update relevant [docs](https://github.com/Datatamer/unify-client-python/tree/master/docs) + docstrings
- [ ] Update the [CHANGELOG](https://github.com/Datatamer/unify-client-python/blob/master/CHANGELOG.md) under the current `-dev` version:
- Add changelog entries under any that apply: **BREAKING CHANGES**, **NEW FEATURES**, **BUG FIXES**.
- Changelog entry format: `[#<issue number>](<link to issue>) <change description>`
- [ ] Testing for this change
- [ ] Links to related issues/PRs
- [ ] Update relevant [docs](https://github.com/Datatamer/tamr-client/tree/master/docs) + docstrings
44 changes: 0 additions & 44 deletions .github/PULL_REQUEST_TEMPLATE/BUG_FIX.md

This file was deleted.

41 changes: 0 additions & 41 deletions .github/PULL_REQUEST_TEMPLATE/NEW_FEATURE.md

This file was deleted.

131 changes: 131 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
name: CI

on:
pull_request:
branches:
- master
push:
branches:
- master

jobs:
Lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install python
uses: actions/setup-python@v2
with:
python-version: 3.6
- name: Install poetry
run: pip install poetry==1.0.5
- name: Install nox
run: pip install nox==2020.5.24
- name: Run flake8
run: nox -s lint

Format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install python
uses: actions/setup-python@v2
with:
python-version: 3.6
- name: Install poetry
run: pip install poetry==1.0.5
- name: Install nox
run: pip install nox==2020.5.24
- name: Run black
run: nox -s format

Typecheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install python
uses: actions/setup-python@v2
with:
python-version: 3.6
- name: Install poetry
run: pip install poetry==1.0.5
- name: Install nox
run: pip install nox==2020.5.24
- name: Run mypy
run: nox -s typecheck

Test:
strategy:
matrix:
python_version: [3.6, 3.7, 3.8]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python_version }}
- name: Install poetry
run: pip install poetry==1.0.5
- name: Install nox
run: pip install nox==2020.5.24
- name: Run pytest
run: nox -s test-${{ matrix.python_version }}

Docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install python
uses: actions/setup-python@v2
with:
python-version: 3.6
- name: Install nox
run: pip install nox==2020.5.24
- name: Run sphinx-build
run: nox -s docs

Commitlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Install npm
uses: actions/setup-node@v2
with:
node-version: "14"
- name: Install commitlint
run: npm install -g @commitlint/cli @commitlint/config-conventional
- name: Run commitlint
run: commitlint --from=origin/master

Release:
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
needs: [Lint, Format, Typecheck, Test, Docs, Commitlint]
steps:
- uses: actions/checkout@v2
- name: Install Python
uses: actions/setup-python@v2
with:
python-version: 3.6
- name: Install poetry
uses: snok/install-poetry@v1.1.1
with:
version: 1.1.4
- name: Install toml-cli
run: |
pip install --upgrade pip
pip install toml-cli==0.1.3
- name: Install npm
uses: actions/setup-node@v2
with:
node-version: "14"
- name: Install semantic-release
run: npm install -g semantic-release@17 @semantic-release/exec@5
- name: Run semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_API_TOKEN }}
run: semantic-release
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,6 @@ target/
profile_default/
ipython_config.py

# pyenv
.python-version

# celery beat schedule file
celerybeat-schedule

Expand Down
3 changes: 3 additions & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
3.6.10
3.7.7
3.8.2
16 changes: 16 additions & 0 deletions .releaserc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
repositoryUrl: https://github.com/Datatamer/tamr-client
branches:
- master
plugins:
- "@semantic-release/commit-analyzer"
- "@semantic-release/release-notes-generator"
- [
"@semantic-release/exec",
{
# Set the project version according to semantic-release (depends on `toml-cli`)
prepareCmd: "toml set --toml-path pyproject.toml tool.poetry.version ${nextRelease.version}",
# Publish the project to PyPI (depends on `python` and `poetry`)
publishCmd: "poetry install --no-dev && poetry publish --build",
},
]
- "@semantic-release/github"
22 changes: 0 additions & 22 deletions .travis.yml

This file was deleted.

7 changes: 7 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"python.linting.pylintEnabled": false,
"python.linting.flake8Enabled": true,
"python.linting.enabled": true,
"python.formatting.provider": "black",
"editor.formatOnSave": true
}
Loading