setup.cfg¶
Last source¶
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 | [metadata]
name = isshub
description = Yout essential Git.Hub.Lab companion
long_description = file:README.rst
version = 0
author = Stéphane "Twidi" Angel
author_email = s.angel@twidi.com
license = MIT
classifiers =
Development Status :: 2 - Pre-Alpha
License :: OSI Approved :: MIT License
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3 :: Only
keywords =
issues
github
gitlab
url = https://github.com/Isshub-io/isshub
requires-python = >=3.8
[options]
zip_safe = True
packages = find:
install_requires =
attrs
[options.packages.find]
exclude =
tests
*.tests
*.tests.*
[options.extras_require]
dev =
ipython
mypy
wheel
tests =
faker
faker-enum
factory-boy
pytest
pytest-bdd
pytest-cov
pytest-lazy-fixture
pytest-sugar
lint=
black
colorama
flake8
flake8-bugbear
flake8-comprehensions
flake8-docstrings
flake8-formatter-abspath
gitpython
isort
pycodestyle
pydocstyle
pylint
docs =
cached-property
pydriller
Pygments
rstcheck
sphinx
sphinx-autodoc-typehints
sphinx-gherkindoc
sphinx_rtd_theme
sphinxprettysearchresults
[mypy]
check_untyped_defs = true
disallow_incomplete_defs = true
# because of django models for example
disallow_subclassing_any = false
disallow_untyped_calls = true
disallow_untyped_decorators = true
disallow_untyped_defs = true
ignore_missing_imports = true
python_version = 3.6
strict_optional = true
warn_incomplete_stub = true
plugins = isshub.domain.utils.mypy_plugin
[mypy-isshub.*.tests.*]
ignore_errors = True
[mypy-isshub.domain.utils.mypy_plugin]
ignore_errors = True
[flake8]
ignore =
# Line too long: we let black manage it
E501
# Line break occurred before a binary operator: we let black manage it
W503
# Allow assigning lambda expressions
E731
# Ignore line length, handled by black
B950
max-complexity = 15
select =
# flake8 error class
F
# mccabe plugin
C
# pycodestyle plugin
E
W
# docstrings (using pydocstyle) plugin
D
# mypy plugin
T4
# bugbear plugin
B
B9
B950
# pep3101 (enforce .format over %) plugin
S001
exclude =
manage.py
stubs.py
*/migrations/*.py
docs/
*.egg-info
dist/
build/
ci/
test_*.py
per-file-ignores =
# ignore mypy missing annotations in tests
test_*:T4
factories.py:T4
isshub/domain/utils/entity.py:T4
[pycodestyle]
max-line-length = 99
[tool:pytest]
addopts =
--cov=isshub
--cov-report term-missing:skip-covered
--doctest-modules
--ignore setup.py
--ignore docs
--ignore ci
--pyargs
[coverage:run]
branch = True
[coverage:report]
exclude_lines =
raise NotImplementedError
[isort]
combine_as_imports=1
include_trailing_comma=true
indent=' '
known_thirdparty_python=factory,pytest,pytest_bdd
known_first_party=isshub
line_length=88
lines_after_imports=2
multi_line_output=3
sections=FUTURE,STDLIB,THIRDPARTY_PYTHON,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
use_parentheses=1
|
Changes¶
fix(entity): id changed from int to uuid4, renamed to identifier¶
- Commit
- Hash
- Date
2020-10-05 10:51:49 +0200
- Type
Modified
- Stats
+2 -1
@@ -98,7 +98,8 @@ ignore =
W503
# Allow assigning lambda expressions
E731
-max-line-length = 99
+ # Ignore line length, handled by black
+ B950
max-complexity = 15
select =
# flake8 error class
style(mypy): Remove most “type: ignore” pragmas¶
- Commit
- Hash
- Date
2020-10-04 20:36:50 +0200
- Type
Modified
- Stats
+3 -1
@@ -81,13 +81,15 @@ ignore_missing_imports = true
python_version = 3.6
strict_optional = true
warn_incomplete_stub = true
+plugins = isshub.domain.utils.mypy_plugin
[mypy-isshub.*.tests.*]
ignore_errors = True
-[mypy-isshub.domain.utils.entity]
+[mypy-isshub.domain.utils.mypy_plugin]
ignore_errors = True
+
[flake8]
ignore =
# Line too long: we let black manage it
docs(bdd): Add BDD scenarios to documentation¶
- Commit
- Hash
- Date
2020-09-27 22:43:49 +0200
- Type
Modified
- Stats
+1 -0
@@ -65,6 +65,7 @@ docs =
rstcheck
sphinx
sphinx-autodoc-typehints
+ sphinx-gherkindoc
sphinx_rtd_theme
sphinxprettysearchresults
build(python): Update minimal python version to 3.8¶
- Commit
- Hash
- Date
2020-09-26 13:37:49 +0200
- Type
Modified
- Stats
+1 -2
@@ -11,7 +11,6 @@ classifiers =
License :: OSI Approved :: MIT License
Programming Language :: Python
Programming Language :: Python :: 3
- Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3 :: Only
keywords =
@@ -19,7 +18,7 @@ keywords =
github
gitlab
url = https://github.com/Isshub-io/isshub
-requires-python = >=3.7
+requires-python = >=3.8
[options]
zip_safe = True
chore: Fix breaking changes from updated dependencies¶
- Commit
- Hash
- Date
2020-09-25 22:54:00 +0200
- Type
Modified
- Stats
+1 -5
@@ -54,8 +54,6 @@ lint=
flake8-comprehensions
flake8-docstrings
flake8-formatter-abspath
- flake8-imports
- flake8-mypy
gitpython
isort
pycodestyle
@@ -156,7 +154,6 @@ exclude_lines =
[isort]
combine_as_imports=1
-default_section=THIRDPARTY
include_trailing_comma=true
indent=' '
known_thirdparty_python=factory,pytest,pytest_bdd
@@ -164,6 +161,5 @@ known_first_party=isshub
line_length=88
lines_after_imports=2
multi_line_output=3
-not_skip = __init__.py
-sections=FUTURE,STDLIB,THIRDPARTY_PYTHON,DRF,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
+sections=FUTURE,STDLIB,THIRDPARTY_PYTHON,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
use_parentheses=1
feat(namespace): Add Namespace entity a kind field¶
- Commit
- Hash
- Date
2019-06-07 21:03:51 +0200
- Type
Modified
- Stats
+2 -0
@@ -38,6 +38,8 @@ dev =
mypy
wheel
tests =
+ faker
+ faker-enum
factory-boy
pytest
pytest-bdd
feat(namespace): Add Namespace entity in core domain context¶
- Commit
- Hash
- Date
2019-06-07 21:03:50 +0200
- Type
Modified
- Stats
+1 -0
@@ -42,6 +42,7 @@ tests =
pytest
pytest-bdd
pytest-cov
+ pytest-lazy-fixture
pytest-sugar
lint=
black
feat(repository): Introduce entities validation (for Repository entity)¶
- Commit
- Hash
- Date
2019-06-07 21:03:50 +0200
- Type
Modified
- Stats
+6 -0
@@ -24,6 +24,8 @@ requires-python = >=3.7
[options]
zip_safe = True
packages = find:
+install_requires =
+ attrs
[options.packages.find]
exclude =
@@ -82,6 +84,9 @@ warn_incomplete_stub = true
[mypy-isshub.*.tests.*]
ignore_errors = True
+[mypy-isshub.domain.utils.entity]
+ignore_errors = True
+
[flake8]
ignore =
# Line too long: we let black manage it
@@ -124,6 +129,7 @@ per-file-ignores =
# ignore mypy missing annotations in tests
test_*:T4
factories.py:T4
+ isshub/domain/utils/entity.py:T4
[pycodestyle]
max-line-length = 99
feat(repository): Add 1st domain context (core) and entity (Repository)¶
- Commit
- Hash
- Date
2019-06-07 21:03:50 +0200
- Type
Modified
- Stats
+4 -1
@@ -28,12 +28,15 @@ packages = find:
[options.packages.find]
exclude =
tests
+ *.tests
+ *.tests.*
[options.extras_require]
dev =
ipython
mypy
wheel
tests =
+ factory-boy
pytest
pytest-bdd
pytest-cov
@@ -116,7 +119,7 @@ exclude =
dist/
build/
ci/
- test_testing.py
+ test_*.py
per-file-ignores =
# ignore mypy missing annotations in tests
test_*:T4
tests: Remove pure testing tests¶
- Commit
- Hash
- Date
2019-06-03 15:50:46 +0200
- Type
Modified
- Stats
+0 -4
@@ -79,10 +79,6 @@ warn_incomplete_stub = true
[mypy-isshub.*.tests.*]
ignore_errors = True
-[mypy-test_testing]
-ignore_errors = True
-
-
[flake8]
ignore =
# Line too long: we let black manage it
tests(bdd): Enbrace behavior driven development¶
- Commit
- Hash
- Date
2019-06-03 13:55:01 +0200
- Type
Modified
- Stats
+1 -0
@@ -35,6 +35,7 @@ dev =
wheel
tests =
pytest
+ pytest-bdd
pytest-cov
pytest-sugar
lint=
docs(git): Add git commits to documentation¶
- Commit
- Hash
- Date
2019-06-03 13:54:59 +0200
- Type
Modified
- Stats
+4 -0
@@ -53,6 +53,10 @@ lint=
pydocstyle
pylint
docs =
+ cached-property
+ pydriller
+ Pygments
+ rstcheck
sphinx
sphinx-autodoc-typehints
sphinx_rtd_theme
style(git): Force format of git commit messages¶
- Commit
- Hash
- Date
2019-06-03 13:54:59 +0200
- Type
Modified
- Stats
+3 -0
@@ -39,6 +39,7 @@ tests =
pytest-sugar
lint=
black
+ colorama
flake8
flake8-bugbear
flake8-comprehensions
@@ -46,6 +47,7 @@ lint=
flake8-formatter-abspath
flake8-imports
flake8-mypy
+ gitpython
isort
pycodestyle
pydocstyle
@@ -129,6 +131,7 @@ addopts =
--doctest-modules
--ignore setup.py
--ignore docs
+ --ignore ci
--pyargs
[coverage:run]
style: Add mypy for better code quality¶
- Commit
- Hash
- Date
2019-05-27 17:14:12 +0200
- Type
Modified
- Stats
+28 -0
@@ -31,6 +31,7 @@ exclude =
[options.extras_require]
dev =
ipython
+ mypy
wheel
tests =
pytest
@@ -44,6 +45,7 @@ lint=
flake8-docstrings
flake8-formatter-abspath
flake8-imports
+ flake8-mypy
isort
pycodestyle
pydocstyle
@@ -54,6 +56,26 @@ docs =
sphinx_rtd_theme
sphinxprettysearchresults
+[mypy]
+check_untyped_defs = true
+disallow_incomplete_defs = true
+# because of django models for example
+disallow_subclassing_any = false
+disallow_untyped_calls = true
+disallow_untyped_decorators = true
+disallow_untyped_defs = true
+ignore_missing_imports = true
+python_version = 3.6
+strict_optional = true
+warn_incomplete_stub = true
+
+[mypy-isshub.*.tests.*]
+ignore_errors = True
+
+[mypy-test_testing]
+ignore_errors = True
+
+
[flake8]
ignore =
# Line too long: we let black manage it
@@ -74,6 +96,8 @@ select =
W
# docstrings (using pydocstyle) plugin
D
+ # mypy plugin
+ T4
# bugbear plugin
B
B9
@@ -90,6 +114,10 @@ exclude =
build/
ci/
test_testing.py
+per-file-ignores =
+ # ignore mypy missing annotations in tests
+ test_*:T4
+ factories.py:T4
[pycodestyle]
max-line-length = 99
style: Add black and isort to ensure code quality¶
- Commit
- Hash
- Date
2019-05-27 17:14:12 +0200
- Type
Modified
- Stats
+16 -0
@@ -37,12 +37,14 @@ tests =
pytest-cov
pytest-sugar
lint=
+ black
flake8
flake8-bugbear
flake8-comprehensions
flake8-docstrings
flake8-formatter-abspath
flake8-imports
+ isort
pycodestyle
pydocstyle
pylint
@@ -107,3 +109,17 @@ branch = True
[coverage:report]
exclude_lines =
raise NotImplementedError
+
+[isort]
+combine_as_imports=1
+default_section=THIRDPARTY
+include_trailing_comma=true
+indent=' '
+known_thirdparty_python=factory,pytest,pytest_bdd
+known_first_party=isshub
+line_length=88
+lines_after_imports=2
+multi_line_output=3
+not_skip = __init__.py
+sections=FUTURE,STDLIB,THIRDPARTY_PYTHON,DRF,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
+use_parentheses=1
style: Add flake8 and pylint to ensure code quality¶
- Commit
- Hash
- Date
2019-05-27 17:14:11 +0200
- Type
Modified
- Stats
+50 -0
@@ -36,12 +36,62 @@ tests =
pytest
pytest-cov
pytest-sugar
+lint=
+ flake8
+ flake8-bugbear
+ flake8-comprehensions
+ flake8-docstrings
+ flake8-formatter-abspath
+ flake8-imports
+ pycodestyle
+ pydocstyle
+ pylint
docs =
sphinx
sphinx-autodoc-typehints
sphinx_rtd_theme
sphinxprettysearchresults
+[flake8]
+ignore =
+ # Line too long: we let black manage it
+ E501
+ # Line break occurred before a binary operator: we let black manage it
+ W503
+ # Allow assigning lambda expressions
+ E731
+max-line-length = 99
+max-complexity = 15
+select =
+ # flake8 error class
+ F
+ # mccabe plugin
+ C
+ # pycodestyle plugin
+ E
+ W
+ # docstrings (using pydocstyle) plugin
+ D
+ # bugbear plugin
+ B
+ B9
+ B950
+ # pep3101 (enforce .format over %) plugin
+ S001
+exclude =
+ manage.py
+ stubs.py
+ */migrations/*.py
+ docs/
+ *.egg-info
+ dist/
+ build/
+ ci/
+ test_testing.py
+
+[pycodestyle]
+max-line-length = 99
+
[tool:pytest]
addopts =
--cov=isshub
tests: Setup testing tools with pytest¶
- Commit
- Hash
- Date
2019-05-27 17:14:11 +0200
- Type
Modified
- Stats
+24 -0
@@ -24,12 +24,36 @@ requires-python = >=3.7
[options]
zip_safe = True
packages = find:
+
+[options.packages.find]
+exclude =
+ tests
[options.extras_require]
dev =
ipython
wheel
+tests =
+ pytest
+ pytest-cov
+ pytest-sugar
docs =
sphinx
sphinx-autodoc-typehints
sphinx_rtd_theme
sphinxprettysearchresults
+
+[tool:pytest]
+addopts =
+ --cov=isshub
+ --cov-report term-missing:skip-covered
+ --doctest-modules
+ --ignore setup.py
+ --ignore docs
+ --pyargs
+
+[coverage:run]
+branch = True
+
+[coverage:report]
+exclude_lines =
+ raise NotImplementedError
docs: Documentation generation¶
- Commit
- Hash
- Date
2019-05-27 17:14:11 +0200
- Type
Modified
- Stats
+5 -0
@@ -28,3 +28,8 @@ packages = find:
dev =
ipython
wheel
+docs =
+ sphinx
+ sphinx-autodoc-typehints
+ sphinx_rtd_theme
+ sphinxprettysearchresults
chore: Base of Isshub project¶
- Commit
- Hash
- Date
2019-05-27 17:14:11 +0200
- Type
Added
- Stats
+30 -0
@@ -0,0 +1,30 @@
+[metadata]
+name = isshub
+description = Yout essential Git.Hub.Lab companion
+long_description = file:README.rst
+version = 0
+author = Stéphane "Twidi" Angel
+author_email = s.angel@twidi.com
+license = MIT
+classifiers =
+ Development Status :: 2 - Pre-Alpha
+ License :: OSI Approved :: MIT License
+ Programming Language :: Python
+ Programming Language :: Python :: 3
+ Programming Language :: Python :: 3.7
+ Programming Language :: Python :: 3.8
+ Programming Language :: Python :: 3 :: Only
+keywords =
+ issues
+ github
+ gitlab
+url = https://github.com/Isshub-io/isshub
+requires-python = >=3.7
+
+[options]
+zip_safe = True
+packages = find:
+[options.extras_require]
+dev =
+ ipython
+ wheel