Skip to content

Commit

Permalink
support ctrl+c, scm
Browse files Browse the repository at this point in the history
  • Loading branch information
HDembinski committed May 28, 2021
1 parent 6237167 commit e008af2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 43 deletions.
7 changes: 0 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,6 @@ repos:
- id: trailing-whitespace
exclude: ^doc/_static/.*.svg

- repo: local
hooks:
- id: version-check
name: version-check
language: python
entry: python tests/test_version.py

# Python linter (Flake8)
- repo: https://gitlab.com/pycqa/flake8
rev: 3.9.2
Expand Down
2 changes: 1 addition & 1 deletion monolens/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.4.2"
from .version import version as __version__ # noqa


def main():
Expand Down
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
[build-system]
requires = [
"setuptools>=42",
"setuptools_scm[toml]>=3.4",
"wheel"
]
build-backend = "setuptools.build_meta"

[tool.setuptools_scm]
write_to = "monolens/version.py"
35 changes: 0 additions & 35 deletions tests/test_version.py

This file was deleted.

0 comments on commit e008af2

Please sign in to comment.