Skip to content
Snippets Groups Projects
Commit 2eea129e authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Merge branch 'build-pypi' into 'master'

Build pypi package. AlekSIS-Core#317

See merge request !28
parents ab08b89c 3bdf18c3
No related branches found
No related tags found
1 merge request!28Build pypi package. AlekSIS/official/AlekSIS-Core#317
Pipeline #4434 passed
......@@ -5,3 +5,5 @@ include:
file: /ci/test.yml
- project: "AlekSIS/official/AlekSIS"
file: /ci/build_dist.yml
- project: "AlekSIS/official/AlekSIS"
file: /ci/deploy_pypi.yml
This diff is collapsed.
......@@ -24,12 +24,17 @@ classifiers = [
"Typing :: Typed",
]
[[tool.poetry.source]]
name = "gitlab"
url = "https://edugit.org/api/v4/projects/461/packages/pypi/simple"
secondary = true
[tool.poetry.dependencies]
python = "^3.7"
AlekSIS = { git = "https://edugit.org/AlekSIS/official/AlekSIS" }
feedparser = "^6.0.0"
django-feed-reader = "^0.2.1"
ics = "^0.7"
aleksis-core = "^2.0a3"
[tool.poetry.dev-dependencies]
sphinx = "^3.0"
......
......@@ -22,9 +22,9 @@ setenv =
[testenv:lint]
commands =
- poetry run black --check --diff aleksis/ --exclude "migrations"
- poetry run isort -c --diff --stdout -rc -s migrations aleksis/
- poetry run flake8 {posargs} --exclude-from-doctest migrations aleksis/
- poetry run black --check --diff aleksis/
- poetry run isort -c --diff --stdout aleksis/
poetry run flake8 {posargs} aleksis/
[testenv:security]
commands =
......@@ -40,7 +40,7 @@ commands = poetry run make -C docs/ html {posargs}
[testenv:reformat]
commands =
poetry run isort -rc aleksis/
poetry run isort aleksis/
poetry run black aleksis/
[flake8]
......@@ -52,10 +52,10 @@ ignore = BLK100,E203,E231,W503,D100,D101,D102,D103,D104,D105,D106,D107,RST215,RS
line_length = 100
multi_line_output = 3
include_trailing_comma = 1
use_parantheses = 1
default_section = THIRDPARTY
known_first_party = aleksis
known_django = django
skip = migrations
sections = FUTURE,STDLIB,DJANGO,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
[mypy]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment