Skip to content
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

Added tox configuration and updating dependency reqs #166

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -132,3 +132,6 @@ dmypy.json

# Mac files
**/.DS_Store

# Ruff Cache
.ruff_cache
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Jinja2==3.0.0
pandas==1.3.0
PyYAML==5.4
snowflake-connector-python==2.8.0
snowflake-connector-python>=2.8.0,<=3.0.2
3 changes: 2 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,14 @@ classifiers =
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Operating System :: OS Independent

[options]
packages = schemachange
python_requires = >=3.7
install_requires =
snowflake-connector-python~=2.8
snowflake-connector-python>=2.8.0,<=3.0.2
pandas~=1.3
pyyaml~=5.4
jinja2~=3.0
Expand Down
11 changes: 11 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[tox]
requires =
tox>=4
env_list = lint, type, py{37,38,39,310}

[testenv]
description = run pytest
deps =
pytest
commands =
pytest {posargs:tests}