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 ed83001

Browse files
committed
feat: py3 only, tests and conventional commits 1.0
more tests pyproject instead of Pipfile questionary instead of whaaaaat (promptkit 2.0.0 support)
1 parent c52eca6 commit ed83001

22 files changed

+425
-638
lines changed

‎.codacy.yaml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
exclude_paths:
2+
- 'tests/**'
3+
- 'docs/**'

‎.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/

0 commit comments

Comments
(0)

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