Skip to content

Commit

Permalink
Conversion to Poetry Build System (#316)
Browse files Browse the repository at this point in the history
* added pytest and coverage settings

* initial change to poetry

* remove setup.py and convert to pyproject.toml

* fixes for tox and travis pipelines

* Changes to support python >3.4 and formatting updates.

* adding athey1 as a maintainer

* fixed tab spacing

* fixed spacing

* added jessica as a maintainer

* added jeremy as a maintainer
  • Loading branch information
kcathey authored and FrankD412 committed May 28, 2022
1 parent 37d0996 commit e7555a3
Show file tree
Hide file tree
Showing 12 changed files with 2,121 additions and 131 deletions.
4 changes: 4 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[report]
omit =
tests/*
setup.py
5 changes: 4 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.5.0
rev: v3.2.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- id: check-toml
- repo: https://gitlab.com/pycqa/flake8
rev: 3.8.3
hooks:
- id: flake8
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ python:
- "3.8"

install:
- pip install tox-travis
- pip install flake8
- pip install tox-travis

before_script:
- "flake8 ."
Expand Down
31 changes: 0 additions & 31 deletions Pipfile

This file was deleted.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,8 @@ To create a new virtual environment:

If you plan to develop on Maestro, install the repository directly using:

pip install -r requirements.txt
pip install -e .
pip install poetry
poetry install

Once set up, test the environment. The paths should point to a virtual environment folder.

Expand Down
Loading

0 comments on commit e7555a3

Please sign in to comment.