Skip to content

Commit

Permalink
Switch to pipenv for dependency management
Browse files Browse the repository at this point in the history
  • Loading branch information
jacebrowning committed Jul 5, 2017
1 parent 00d837d commit 435aa0c
Show file tree
Hide file tree
Showing 32 changed files with 1,372 additions and 463 deletions.
14 changes: 10 additions & 4 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,23 @@
environment:
global:
RANDOM_SEED: 12345
RANDOM_SEED: 0
PIPENV_NOSPIN: true
matrix:
- PYTHON_MAJOR: 3
PYTHON_MINOR: 6

cache:
- env
- .venv -> Makefile

install:
# Export build paths
- copy C:\MinGW\bin\mingw32-make.exe C:\MinGW\bin\make.exe
- set PATH=%PATH%;C:\MinGW\bin
- make --version
# Install system dependencies
- pip install pipenv~=5.0
- make doctor
# Install project dependencies
- rm -rf env/.depends* && make depends
- make install

build: off

Expand Down
2 changes: 1 addition & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[run]
branch = true
omit =
*/env/*
*/.venv/*
*/tests/*
26 changes: 13 additions & 13 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ __pycache__
Icon*

# Temporary virtual environment files
.cache
/env
/.cache/
/.venv/

# Temporary server files
.env
*.pid

# Generated documentation
/docs/gen
/docs/apidocs
/site
/docs/gen/
/docs/apidocs/
/site/
/*.html
/*.rst
/docs/*.png
Expand All @@ -30,19 +30,19 @@ Icon*
*.gdraw

# Testing and coverage results
.cache
.pytest
.coverage
.coverage.*
/htmlcov
/xmlreport
/.pytest/
/.coverage
/.coverage.*
/htmlcov/
/xmlreport/
/pyunit.xml
/tmp/
*.tmp

# Build and release directories
/build/
/dist/
*.spec
/build
/dist

# Sublime Text
*.sublime-workspace
Expand Down
6 changes: 0 additions & 6 deletions .pep8rc

This file was deleted.

8 changes: 8 additions & 0 deletions .pycodestyle.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[pycodestyle]

# E401 multiple imports on one line (checked by PyLint)
# E402 module level import not at top of file (checked by PyLint)
# E501: line too long (checked by PyLint)
# E711: comparison to None (used to improve test style)
# E712: comparison to True (used to improve test style)
ignore = E401,E402,E501,E711,E712
2 changes: 1 addition & 1 deletion .pep257 → .pydocstyle.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[pep257]
[pydocstyle]

# D211: No blank lines allowed before class docstring
add_select = D211
Expand Down
Loading

0 comments on commit 435aa0c

Please sign in to comment.