Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Commit

Permalink
Move to src layout and flit
Browse files Browse the repository at this point in the history
  • Loading branch information
hukkin committed Nov 30, 2021
1 parent b95d41e commit eb639d6
Show file tree
Hide file tree
Showing 12 changed files with 47 additions and 821 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ current_version = 6.0.0
search = version = "{current_version}" # DO NOT EDIT THIS LINE MANUALLY. LET bump2version UTILITY DO IT
replace = version = "{new_version}" # DO NOT EDIT THIS LINE MANUALLY. LET bump2version UTILITY DO IT

[bumpversion:file:cosmospy/__init__.py]
[bumpversion:file:src/cosmospy/__init__.py]
search = __version__ = "{current_version}"
replace = __version__ = "{new_version}"

Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,11 @@ jobs:

- name: Installation (deps and package)
run: |
pip install "poetry==1.1.11"
poetry config virtualenvs.create false
poetry install --no-interaction --no-ansi
pip install . -r tests/requirements.txt
- name: Linters
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.7'
run: |
mypy .
pip install pre-commit
pre-commit run -a
- name: Test with Ward
run: |
Expand Down
10 changes: 10 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,13 @@ repos:
- flake8-bugbear
- flake8-builtins
- flake8-comprehensions
- repo: https://github.com/pre-commit/mirrors-mypy
rev: 5cf22ccb774a8be8f47dfe4c1e8c4f177c608cbf # frozen: v0.910-1
hooks:
- id: mypy
args: ["--scripts-are-modules"]
additional_dependencies:
- bech32
- hdwallets
- mnemonic
- ward
42 changes: 0 additions & 42 deletions CONTRIBUTING.md

This file was deleted.

Loading

0 comments on commit eb639d6

Please sign in to comment.