Skip to content
This repository has been archived by the owner on Nov 13, 2023. It is now read-only.

Commit

Permalink
Packaging resources
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrocamargo committed Apr 14, 2020
1 parent af11a1b commit 9d8c80a
Show file tree
Hide file tree
Showing 4 changed files with 119 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .flake8
@@ -0,0 +1,6 @@
[flake8]
max-line-length = 120
ignore = E203, E266, E501, W503, F403, F401, C901
max-complexity = 20
select = B,C,E,F,W,T4,B9
exclude = .idea,.git,__pycache__,sphinx,.venv,
63 changes: 63 additions & 0 deletions .gitignore
@@ -0,0 +1,63 @@
# Documentation
_build
_static
_templates

# User-specific stuff:
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/dictionaries

.idea/*

# Sensitive or high-churn files:
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.xml
.idea/**/dataSources.local.xml
.idea/**/sqlDataSources.xml
.idea/**/dynamic.xml
.idea/**/uiDesigner.xml

# Gradle:
.idea/**/gradle.xml
.idea/**/libraries

# CMake
cmake-build-debug/


## File-based project format:
*.iws

## Plugin-specific files:

# IntelliJ
/out/

# mpeltonen/sbt-idea plugin
.idea_modules/

# JIRA plugin
atlassian-ide-plugin.xml


# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties

# Sonarlint plugin
.idea/sonarlint

# Build of plugin
aequilibrae/paths/*.pyd
aequilibrae/paths/*.html
aequilibrae/paths/build/*
docs/build/*
docs/source/_generated/*


#Virtual environment
.venv/
11 changes: 11 additions & 0 deletions .pre-commit-config.yaml
@@ -0,0 +1,11 @@
repos:
- repo: https://github.com/ambv/black
rev: stable
hooks:
- id: black
language_version: python3.6
args: [--line-length=120]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v1.2.3
hooks:
- id: flake8
39 changes: 39 additions & 0 deletions Pipfile
@@ -0,0 +1,39 @@
[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true

[requires]
python_version = "3.7"

[dev-packages]
sphinx = "*"
sphinx-autodoc-annotation = "*"
flake8 = "*"
flake8-checkstyle = "*"
nose = "*"
pre-commit = "*"
sphinx_rtd_theme = "*"
twine = "*"
statsmodels = "*"
pytest = "*"
pycrunch-engine = "*"
pandas = "*"
jupyter = "*"
jupyter-contrib-nbextensions = "*"
jupyter-nbextensions-configurator = "*"
matplotlib = "*"


[packages]
aequilibrae = "==0.6.3"
numpy = ">=1.14.0"
pyaml = "*"
scipy = "*"
openmatrix = "*"

[scripts]
notebook = "jupyter notebook"
pre-commit-install = "pre-commit install"
sphinx = "sphinx-build -b html -c sphinx aequilibrae build"
python = "python"

0 comments on commit 9d8c80a

Please sign in to comment.