Skip to content
This repository was archived by the owner on Sep 23, 2024. It is now read-only.

Commit fe5493b

Browse files
authored
[AP-743] Run discovery before sync (#58)
* Run new discovery and update streams' schemas and metadata before sync
1 parent 2c95d82 commit fe5493b

File tree

18 files changed

+802
-566
lines changed

18 files changed

+802
-566
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
command: |
4747
. ./virtualenvs/tap-postgres/bin/activate
4848
export LOGGING_CONF_FILE=./sample_logging.conf
49-
nosetests -c .noserc tests
49+
pytest --cov=tap_postgres tests
5050
5151
workflows:
5252
version: 2

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,3 +109,7 @@ env-vars.txt
109109
tap_oracle/__pycache__/
110110
*~
111111
config.json
112+
113+
114+
# JetBrains IDEs
115+
.idea/*

.noserc

Lines changed: 0 additions & 15 deletions
This file was deleted.

.pylintrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ confidence=
5353
disable=wrong-import-order,
5454
broad-except,
5555
missing-module-docstring,
56+
duplicate-code
5657

5758

5859
enable=import-error,
@@ -241,7 +242,7 @@ enable=import-error,
241242
# Set the output format. Available formats are text, parseable, colorized, msvs
242243
# (visual studio) and html. You can also give a reporter class, eg
243244
# mypackage.mymodule.MyReporterClass.
244-
output-format=parseable
245+
output-format=colorized
245246

246247
# Put messages in a separate file for each module / package specified on the
247248
# command line instead of printing them on stdout. Reports (if any) will be

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
1+
pylint:
2+
pylint --rcfile .pylintrc tap_postgres
3+
14
test:
2-
nosetests -v
5+
pytest --cov=tap_postgres tests -v

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323
],
2424
extras_require={
2525
"test": [
26-
'nose==1.3.7',
26+
'pytest==5.4',
2727
'pylint==2.4.4',
28-
'nose-cov==1.6'
28+
'pytest-cov==2.10'
2929
]
3030
},
3131
entry_points='''

0 commit comments

Comments
 (0)