Skip to content

Commit bd59060

Browse files
committed
merge conflict resolutions
2 parents 1dbbb48 + bc45fb2 commit bd59060

File tree

164 files changed

+539220
-176489
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

164 files changed

+539220
-176489
lines changed

.github/workflows/pre-commit.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Run Pre-Commit
2+
3+
on:
4+
pull_request: {}
5+
push:
6+
branches:
7+
- dev
8+
- main
9+
10+
jobs:
11+
pre-commit:
12+
runs-on: ${{ matrix.os }}
13+
strategy:
14+
matrix:
15+
os: [ubuntu-latest]
16+
python-version: ['3.8', '3.9', '3.10']
17+
steps:
18+
- uses: actions/checkout@v2
19+
- uses: actions/setup-python@v3
20+
with:
21+
python-version: ${{ matrix.python-version }}
22+
- name: Set file mode to false
23+
run: |
24+
git config core.filemode false
25+
- uses: pre-commit/[email protected]

.github/workflows/tox.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Run Tox
2+
3+
on:
4+
pull_request: {}
5+
push:
6+
branches: [main]
7+
8+
jobs:
9+
build:
10+
runs-on: ${{ matrix.os }}
11+
strategy:
12+
matrix:
13+
os: [ubuntu-latest, macos-latest, windows-latest]
14+
python-version: ['3.8', '3.9', '3.10']
15+
steps:
16+
- uses: actions/checkout@v3
17+
- name: Set up Python
18+
uses: actions/setup-python@v3
19+
with:
20+
python-version: ${{ matrix.python-version }}
21+
- name: Install dependencies
22+
run: |
23+
python -m pip install --upgrade pip setuptools wheel build
24+
python -m pip install tox tox-gh-actions
25+
- name: Test with tox
26+
run: |
27+
tox
28+
python -m build .

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.DS_Store
2+
@eaDir
23

34
# Byte-compiled / optimized / DLL files
45
__pycache__/

.pre-commit-config.yaml

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v4.3.0
4+
hooks:
5+
- id: fix-encoding-pragma
6+
- id: check-merge-conflict
7+
- id: end-of-file-fixer
8+
- id: debug-statements
9+
- id: check-added-large-files
10+
- id: check-ast
11+
- id: check-byte-order-marker
12+
- id: check-case-conflict
13+
- id: check-docstring-first
14+
- id: check-executables-have-shebangs
15+
types: [python]
16+
- id: check-vcs-permalinks
17+
- id: check-symlinks
18+
- id: mixed-line-ending
19+
- id: name-tests-test
20+
exclude: tests/test_data
21+
args:
22+
- --pytest-test-first
23+
- id: check-json
24+
- id: pretty-format-json
25+
args:
26+
- --autofix
27+
- --top-keys=_id
28+
- id: check-yaml
29+
- id: sort-simple-yaml
30+
files: '.yaml$'
31+
- id: detect-private-key
32+
- id: trailing-whitespace
33+
- repo: https://github.com/psf/black
34+
rev: 22.8.0
35+
hooks:
36+
- id: black
37+
- repo: https://github.com/Lucas-C/pre-commit-hooks
38+
rev: v1.3.1
39+
hooks:
40+
- id: remove-tabs
41+
exclude: '(\.tsv|Makefile)$'
42+
- id: remove-crlf

.travis.yml

+16-16
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
language: python
2-
python:
3-
- 3.6
4-
- 3.7
5-
- 3.8
6-
before_install:
7-
- python --version
8-
- pip install -U pip
9-
- pip install -U pytest
10-
- pip install -U importlib_metadata
11-
- pip install codecov
12-
install:
13-
- pip install ".[test]" . # install package + test dependencies
14-
script: pytest # run tests
15-
after_success:
16-
- codecov # submit coverage
1+
language: python
2+
python:
3+
- 3.7
4+
- 3.8
5+
- 3.9
6+
before_install:
7+
- python --version
8+
- pip install -U pip
9+
- pip install -U pytest
10+
- pip install -U importlib_metadata
11+
- pip install codecov
12+
install:
13+
- pip install ".[test]" . # install package + test dependencies
14+
script: pytest # run tests
15+
after_success:
16+
- codecov # submit coverage

README.rst

+4-5
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Installation
3636
ModelSEEDpy will soon be installable via the ``PyPI`` channel::
3737

3838
pip install modelseedpy
39-
39+
4040
but, until then, the repository must cloned::
4141

4242
git clone https://github.com/ModelSEED/ModelSEEDpy.git
@@ -46,13 +46,12 @@ and then locally installed with ``pip``::
4646
cd path/to/modelseedpy
4747
pip install .
4848

49-
5049
The associated ModelSEED Database, which is required for a few packages, is simply downloaded by cloning the GitHub repository::
5150

5251
git clone https://github.com/ModelSEED/ModelSEEDDatabase.git
53-
54-
and the path to this repository is passed as an argument to the corresponding packages.
55-
52+
53+
and the path to this repository is passed as an argument to the corresponding packages.
54+
5655
**Windows users** must separately install the ``pyeda`` module: 1) download the appropriate wheel for your Python version from `this website <https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyeda>`_ ; and 2) install the wheel through the following commands in a command prompt/powershell console::
5756

5857
cd path/to/pyeda/wheel

0 commit comments

Comments
 (0)