Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 1d1d992

Browse files
committed
feat: pyprojec.toml + dropped py2 + replaced whaaat with questionary + tests + conventional commits 1.0
1 parent c52eca6 commit 1d1d992

21 files changed

+286
-516
lines changed

‎.flake8‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[flake8]
2+
exclude = .git,__pycache__,docs/source/conf.py,old,build,dist
3+
max-complexity = 10
4+
max-line-length = 100

‎.gitignore‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ nosetests.xml
4545
coverage.xml
4646
*.cover
4747
.hypothesis/
48+
.pytest_cache
4849

4950
# Translations
5051
*.mo
@@ -104,3 +105,6 @@ venv.bak/
104105
.mypy_cache/
105106

106107
.vscode/
108+
109+
# build
110+
poetry.lock

‎Pipfile‎

Lines changed: 0 additions & 17 deletions
This file was deleted.

‎Pipfile.lock‎

Lines changed: 0 additions & 326 deletions
This file was deleted.

‎README.rst‎

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,17 @@ things that won't work, like aliases of commands, so, to commit run:
245245
cz commit
246246

247247

248-
Todo
249-
====
248+
Contributing
249+
============
250250

251-
- [ ] auto changelog integration
252-
- [ ] tests
251+
252+
1. Clone the repo.
253+
2. Add your modifications
254+
3. Run :code:`python setup.py test --pytest-args --cov=./commitizen`
255+
256+
257+
Testing
258+
========
259+
260+
261+
pytest -s --cov-report term-missing --cov=commitizen tests/

‎commitizen/__init__.py‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
import logging
33
import logging.config
44
from commitizen.cz import registry
5-
from commitizen.cz.cz_base import BaseCommitizen # noqa
65
from commitizen.__version__ import __version__
76

87

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /