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

Commit

Permalink
[AP-743] Run discovery before sync (#58)
Browse files Browse the repository at this point in the history
* Run new discovery and update streams' schemas and metadata before sync
  • Loading branch information
Samira-El authored Jul 6, 2020
1 parent 2c95d82 commit fe5493b
Show file tree
Hide file tree
Showing 18 changed files with 802 additions and 566 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
command: |
. ./virtualenvs/tap-postgres/bin/activate
export LOGGING_CONF_FILE=./sample_logging.conf
nosetests -c .noserc tests
pytest --cov=tap_postgres tests
workflows:
version: 2
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -109,3 +109,7 @@ env-vars.txt
tap_oracle/__pycache__/
*~
config.json


# JetBrains IDEs
.idea/*
15 changes: 0 additions & 15 deletions .noserc

This file was deleted.

3 changes: 2 additions & 1 deletion .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ confidence=
disable=wrong-import-order,
broad-except,
missing-module-docstring,
duplicate-code


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

# Put messages in a separate file for each module / package specified on the
# command line instead of printing them on stdout. Reports (if any) will be
Expand Down
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
pylint:
pylint --rcfile .pylintrc tap_postgres

test:
nosetests -v
pytest --cov=tap_postgres tests -v
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
],
extras_require={
"test": [
'nose==1.3.7',
'pytest==5.4',
'pylint==2.4.4',
'nose-cov==1.6'
'pytest-cov==2.10'
]
},
entry_points='''
Expand Down
Loading

0 comments on commit fe5493b

Please sign in to comment.