Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AlekSIS-App-Tezor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AlekSIS®
Onboarding
AlekSIS-App-Tezor
Compare revisions
70270f27670c3d504f9b088d5ca33719ba026f66 to master
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
AlekSIS/onboarding/AlekSIS-App-Tezor
Select target project
No results found
master
Select Git revision
Swap
Target
3lisvequii/AlekSIS-App-Tezor
Select target project
AlekSIS/onboarding/AlekSIS-App-Tezor
sunweaver/AlekSIS-App-Tezor
3lisvequii/AlekSIS-App-Tezor
3 results
70270f27670c3d504f9b088d5ca33719ba026f66
Select Git revision
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
pyproject.toml
+53
-16
53 additions, 16 deletions
pyproject.toml
tox.ini
+28
-39
28 additions, 39 deletions
tox.ini
with
81 additions
and
55 deletions
pyproject.toml
View file @
27eadeaa
[tool.poetry]
name
=
"AlekSIS-App-Tezor"
version
=
"
1
.0.dev
0
"
version
=
"
2
.0.dev
4
"
packages
=
[
{
include
=
"aleksis"
}
]
...
...
@@ -22,29 +22,49 @@ classifiers = [
"Intended Audience :: Education"
,
"Topic :: Education"
]
maintainers
=
[
"Jonathan Weth <jonathan.weth@teckids.org>"
,
"Dominik George <dominik.george@teckids.org>"
]
[[tool.poetry.source]]
name
=
"PyPI"
priority
=
"primary"
[[tool.poetry.source]]
name
=
"gitlab"
url
=
"https://edugit.org/api/v4/projects/461/packages/pypi/simple"
secondary
=
true
priority
=
"supplemental"
[tool.poetry.dependencies]
python
=
"^3.9"
aleksis-core
=
"^2.7"
django-payments
=
"^0.15.1"
pycountry
=
"22.1.10"
django-payments-sepa
=
"^1.0.dev0"
[tool.poetry.dev-dependencies]
aleksis-builddeps
=
"*"
python
=
"^3.10"
django-payments-sepa
=
{
version
=
"2.0.0.dev0"
,
allow-prereleases
=
true
,
extras
=
[
"fints"
]
}
aleksis-core
=
"^4.0.0.dev16"
django-payments
=
{
version
=
"^3.0.0"
,
extras
=
[
"sofort"
]
}
[tool.poetry.plugins."aleksis.app"]
tezor
=
"aleksis.apps.tezor.apps:DefaultConfig"
[tool.black]
line-length
=
100
exclude
=
"/migrations/"
[tool.poetry.group.dev.dependencies]
django-stubs
=
"^4.2"
safety
=
"^2.3.5"
ruff
=
"^0.8.2"
[tool.poetry.group.test.dependencies]
pytest
=
"^8.3"
pytest-django
=
"^4.9"
pytest-django-testing-postgresql
=
"^0.2"
pytest-cov
=
"^6.0.0"
pytest-sugar
=
"^1.0.0"
selenium
=
"^4.27.0"
freezegun
=
"^1.5.0"
[tool.poetry.group.docs]
optional
=
true
[tool.poetry.group.docs.dependencies]
sphinx
=
"^7.0"
sphinxcontrib-django
=
"^2.3.0"
sphinxcontrib-svg2pdfconverter
=
"^1.1.1"
sphinx-autodoc-typehints
=
"^1.7"
sphinx_material
=
"^0.0.35"
[tool.curlylint]
include
=
'\.html'
...
...
@@ -57,6 +77,23 @@ meta_viewport = true
no_autofocus
=
true
tabindex_no_positive
=
true
[tool.ruff]
exclude
=
[
"migrations"
]
line-length
=
100
[tool.ruff.lint]
select
=
[
"E"
,
"F"
,
"UP"
,
"B"
,
"SIM"
,
"I"
,
"DJ"
,
"A"
,
"S"
]
ignore
=
[
"UP034"
,
"UP015"
,
"B028"
]
[tool.ruff.lint.extend-per-file-ignores]
"**/*/tests/**/*.py"
=
[
"S101"
,
"ARG"
,
"FBT"
,
"PLR2004"
,
"S311"
,
"S105"
]
[tool.ruff.lint.isort]
known-first-party
=
[
"aleksis"
]
section-order
=
[
"future"
,
"standard-library"
,
"django"
,
"third-party"
,
"first-party"
,
"local-folder"
]
[tool.ruff.lint.isort.sections]
django
=
[
"django"
]
[build-system]
requires
=
["poetry>
=
1.0
"]
build-backend
=
"poetry.masonry.api"
requires
=
["poetry
-core
>
=
1.0
.
0
"]
build-backend
=
"poetry.
core.
masonry.api"
This diff is collapsed.
Click to expand it.
tox.ini
View file @
27eadeaa
[tox]
skipsdist
=
True
skip_missing_interpreters
=
true
envlist
=
py3
7
,py3
8
,py3
9
envlist
=
py3
10
,py3
11
,py3
12
[testenv]
whitelist_externals
=
poetry
sudo
allowlist_externals
=
poetry
yarnpkg
skip_install
=
true
envdir
=
{toxworkdir}/globalenv
commands_pre
=
poetry
install
poetry
run
aleksis-admin
yarn
install
poetry
install
--all-extras
poetry
run
aleksis-admin
vite
build
poetry
run
aleksis-admin
collectstatic
--no-input
commands
=
poetry
run
pytest
--cov
=
. {posargs} aleksis/
...
...
@@ -23,12 +23,18 @@ setenv =
TEST_HOST
=
{env:TEST_HOST:172.17.0.1}
[testenv:lint]
commands_pre
=
poetry
install
yarnpkg
--cwd
=
.dev-js
commands
=
poetry
run
black
--check
--diff
aleksis/
poetry
run
isort
-c
--diff
--stdout
aleksis/
poetry
run
flake8
{posargs}
aleksis/
poetry
run
ruff
check
{posargs}
aleksis/
yarnpkg
--cwd
=
.dev-js run prettier --ignore-path={toxinidir}/.prettierignore {posargs} --check ..
poetry
run
aleksis-admin
graphql_schema
--schema
aleksis.core.schema.schema
--out
.dev-js/schema.json
yarnpkg
--cwd
=
.dev-js run eslint ../aleksis/**/*/frontend/**/*.{js,vue,graphql} --config={toxinidir}/.dev-js/.eslintrc.js
[testenv:security]
commands_pre
=
poetry
install
--all-extras
commands
=
poetry
show
--no-dev
poetry
run
safety
check
--full-report
...
...
@@ -37,46 +43,29 @@ commands =
commands_pre
=
poetry
install
poetry
run
sh
-c
"cd
aleksis
; aleksis-admin compilemessages"
poetry
run
aleksis-admin
yarn
install
poetry
run
aleksis-admin
compile_scss
commands
=
poetry build
[testenv:docs]
commands_pre
=
poetry
install
--with
docs
commands
=
poetry run make -C docs/ html {posargs}
[testenv:reformat]
commands_pre
=
poetry
install
--only
=
dev
yarnpkg
--cwd
=
.dev-js
commands
=
poetry
run
isor
t
aleksis/
poetry
run
black
aleksis/
poetry
run
ruff
forma
t
aleksis/
yarnpkg
--cwd
=
.dev-js run prettier --ignore-path={toxinidir}/.prettierignore --write ..
[testenv:makemessages]
commands_pre
=
poetry
install
commands
=
poetry
run
aleksis-admin
makemessages
--no-wrap
-e
html,txt,py,email
-i
static
-l
ar
-l
de_DE
-l
fr
-l
nb_NO
-l
tr_TR
-l
la
poetry
run
aleksis-admin
makemessages
--no-wrap
-d
djangojs
-i
**/node_modules
-l
ar
-l
de_DE
-l
fr
-l
nb_NO
-l
tr_TR
-l
la
[flake8]
max_line_length
=
100
exclude
=
migrations,tests
ignore
=
BLK100,E203,E231,W503,D100,D101,D102,D103,D104,D105,D106,D107,RST215,RST214,F821,F841,S106,T100,T101,DJ05
[isort]
profile
=
black
line_length
=
100
default_section
=
THIRDPARTY
known_first_party
=
aleksis
known_django
=
django
skip
=
migrations
sections
=
FUTURE,STDLIB,DJANGO,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
[mypy]
plugins
=
mypy_django_plugin.main
python_version
=
3.8
platform
=
linux
show_column_numbers
=
True
follow_imports
=
skip
ignore_missing_imports
=
True
cache_dir
=
/dev/null
[mypy.plugins.django-stubs]
django_settings_module
=
aleksis.core.settings
poetry
run
aleksis-admin
makemessages
--no-wrap
-e
html,txt,py,email
-i
static
-l
ar
-l
de_DE
-l
fr
-l
nb_NO
-l
tr_TR
-l
la
-l
uk
-l
ru
poetry
run
aleksis-admin
makemessages
--no-wrap
-d
djangojs
-i
**/node_modules
-l
ar
-l
de_DE
-l
fr
-l
nb_NO
-l
tr_TR
-l
la
-l
uk
-l
ru
[pytest]
DJANGO_SETTINGS_MODULE
=
aleksis.core.settings
...
...
This diff is collapsed.
Click to expand it.
Prev
1
2
3
4
Next