Skip to content

Commit

Permalink
Resolve merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
kidrahahjo committed Aug 12, 2020
2 parents 1d5f6cc + 3fe6006 commit a9d5b1a
Show file tree
Hide file tree
Showing 12 changed files with 618 additions and 328 deletions.
10 changes: 3 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,11 @@ jobs:
- run:
name: install-dev-requirements
command: |
pip install --user -U -r requirements-test.txt
- run:
name: check-code-style
command: |
python -m flake8 --show-source .
pip install --user -U -r requirements-precommit.txt
- run:
name: check-doc-strings-style
name: Run pre-checks
command: |
pydocstyle
pre-commit run --all-files
test-3.8: &test-template
environment:
Expand Down
19 changes: 19 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: ''
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
- id: debug-statements
- repo: local
hooks:
- id: flake8
name: flake8
entry: flake8
language: python
types: [python]
- id: pydocstyle
name: pydocstyle
entry: pydocstyle
language: python
types: [python]
2 changes: 1 addition & 1 deletion .zenodo.json
Original file line number Diff line number Diff line change
Expand Up @@ -162,4 +162,4 @@
"title": "signac-flow",
"upload_type": "software",
"version": "0.10.0"
}
}
9 changes: 8 additions & 1 deletion changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,23 @@ next
next
----

Added
+++++

- Added support for `pre-commit hooks <https://pre-commit.com/>`__ (#333).

Changed
+++++++

- Make ``FlowCondition`` class private (#307, #315).
- Deprecate ``JobOperation`` class, make ``SubmissionJobOperation`` a private class and deprecate the following methods of ``FlowProject``: ``script``, ``run_operations``, ``submit_operations``, ``next_operations``. (#313)
- Deprecate the following methods: ``FlowGroup.eligible``, ``FlowGroup.complete``, ``BaseFlowOperation.eligible``, ``BaseFlowOperation.complete`` (#337).

Removed
+++++++

- Drop support for Python 3.5 (#305). The signac project will follow the `NEP 29 deprecation policy <https://numpy.org/neps/nep-0029-deprecation_policy.html>`_ going forward.

- Remove the deprecated methods ``always``, ``make_bundles``, and ``JobOperation.get_id`` (#312).

Version 0.10
============
Expand Down
6 changes: 0 additions & 6 deletions doc/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ The FlowProject
FlowProject.operation
FlowProject.operations
FlowProject.post
FlowProject.post.always
FlowProject.post.copy_from
FlowProject.post.false
FlowProject.post.isfile
Expand All @@ -49,7 +48,6 @@ The FlowProject
FlowProject.post.true
FlowProject.pre
FlowProject.pre.after
FlowProject.pre.always
FlowProject.pre.copy_from
FlowProject.pre.false
FlowProject.pre.isfile
Expand All @@ -72,8 +70,6 @@ The FlowProject

.. automethod:: flow.FlowProject.post

.. automethod:: flow.FlowProject.post.always

.. automethod:: flow.FlowProject.post.copy_from

.. automethod:: flow.FlowProject.post.false
Expand All @@ -90,8 +86,6 @@ The FlowProject

.. automethod:: flow.FlowProject.pre.after

.. automethod:: flow.FlowProject.pre.always

.. automethod:: flow.FlowProject.pre.copy_from

.. automethod:: flow.FlowProject.pre.false
Expand Down
1 change: 0 additions & 1 deletion doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,3 @@ Indices and tables
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`

Loading

0 comments on commit a9d5b1a

Please sign in to comment.