Skip to content
Merged
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
5 changes: 5 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[flake8]
ignore = E203, E266, E501, W503, F403, F401
max-line-length = 88
max-complexity = 20
select = B,C,E,F,W,T4,B9
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
__pycache__/
*.py[cod]
*$py.class
.idea/
pip-wheel-metadata/

# C extensions
*.so
Expand Down
9 changes: 9 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
repos:
- repo: https://github.com/ambv/black
rev: stable
hooks:
- id: black
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.2.3
hooks:
- id: flake8
55 changes: 27 additions & 28 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,34 @@
# Config file for automatic testing at travis-ci.org
# This file will be regenerated if you run travis_pypi_setup.py

language: python
python:
- 3.6
- 3.5
- 2.7


# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install: pip install -U tox-travis coverage coveralls

# command to run tests, e.g. python setup.py test
script:
- tox
- coverage report
# - coverage run --source pydftools -m py.test
# - coverage report -m

# This file was autogenerated and will overwrite each time you run travis_pypi_setup.py
after_success:
- coveralls

# After you create the Github repo and add it to Travis, run the
# travis_pypi_setup.py script to finish PyPI deployment setup
- coveralls
deploy:
provider: pypi
distributions: sdist bdist_wheel
user: stevenjeanette
password:
secure: PLEASE_REPLACE_ME
on:
tags: true
secure: !!binary |
VUlXelNoM2kvSUxqSEpwZUFSbzA2NW1FRGZJYmw0aDdMc255ZUVmeFg0dDlReXU2YU5ieVk4QlhE
MGRLeksreEI2YVY0WUE3YSsweE43d28renlHSFlMeGNHV1ZyTGgrcjRuLzdnSzdISWFVY2FjZ2F2
Ulc5L21KZW9yYkJXdGhRTHNTVE02Q3NycEtGYmkydDFvQldtUUtac2xVaUhLc3RJUE5pQ2VYYlU5
OUJyUmtqQm1kRmtPT3VhNFdZRURIdFBqV0ttM2N6aFNXRy83UmU4cFdOUUdpcE5JT2huZ1I0SnV4
ZlZrSzlJZDRYdWx1TG1KQ3RxRG1Wek51MkdzbUlNZnUwOGtWZDMyODRsOUhQbWhUVEg0Z1VqaEs3
dmJUNEhMSy93VmpVVWxKa085cG5yY0g2UWNhVjVoVVJFZ2xCdG9wQXFlN0NVUEl1SWRqSUh0L2pv
Y2t0YlNGR0dISmFQSmlkaWdFYmxoY0RUY3NyenR0YkxMeFV2N3VQUTVNVFVCdlc4dGhXbzFONGw2
bHg5TGRrU1pPQjVNZ2l1TzZoN0FEK1B6YWpPRFoyTFZWVldhUHdMOVhiZEU0UDQ0c1Q4RnZJekYr
Y3VmUThOYlZjUFZyNTV4OGRRcnNUdERRakI5WlhxWHphQmErdVZjZ0VEQzB0d3JKV0UxZk13eGhH
Q3BnVVFjd294cFo5WjRraUswRHlPVnRWaGd3WjExb2htN212Y3U4cXZyMm5udFpVZUtQTEw2ZVpO
QmN4NXpxY1VNWEszdjU3eWFlVktuTVdXNlBtK3lMQ3puWUpWaVNGeG1tczJFK1RLelcxS2pQUGVu
NkNlNDhFdjN4T0hLK2pQWlhaWVNQd3V5OEEwc1B3Q1pZbUdINnkxdzhmejVqaFhjaWdLR0xVVEE9
true:
python: 3.7
repo: steven-murray/pydftools
python: 2.7
tags: true
dist: xenial
install: pip install -U tox-travis coverage coveralls
language: python
python:
- 3.7
- 3.6
script:
- tox
- coverage report
Loading