mirror of
https://github.com/Cian-H/invenio-theme-iform.git
synced 2025-12-24 05:31:57 +00:00
all python files are now formated with black (#106)
* all python files are now formated with black NOTE: some configurations where necessary. flake8 line-length has to be set to 88 which is the default for black. but this was not enough some lines of black where formated longer then 88 characters. found flake8-bugbear with B950. with that and in combination with ignore=E501 it is possible to ignore long lines, but if there are lines to long it will still point it out. further also for isort some configuration was necessary REFERENCES: https://github.com/psf/black/blob/master/docs/compatible_configs.md#isort https://github.com/psf/black/blob/master/docs/compatible_configs.md#flake8 https://github.com/PyCQA/flake8-bugbear#opinionated-warnings * removed commented import statments Co-authored-by: Christoph Ladurner <christoph.ladurner@tugraz.at>
This commit is contained in:
committed by
GitHub
parent
f9993369f2
commit
95f566d48d
@@ -10,17 +10,15 @@ from invenio_assets.webpack import WebpackThemeBundle
|
||||
|
||||
theme = WebpackThemeBundle(
|
||||
__name__,
|
||||
'assets',
|
||||
default='semantic-ui',
|
||||
"assets",
|
||||
default="semantic-ui",
|
||||
themes={
|
||||
'semantic-ui': dict(
|
||||
"semantic-ui": dict(
|
||||
entry={
|
||||
'invenio-theme-tugraz-theme':
|
||||
'./less/invenio_theme_tugraz/theme.less',
|
||||
'invenio-theme-tugraz-js':
|
||||
'./js/invenio_theme_tugraz/theme.js'
|
||||
"invenio-theme-tugraz-theme": "./less/invenio_theme_tugraz/theme.less",
|
||||
"invenio-theme-tugraz-js": "./js/invenio_theme_tugraz/theme.js",
|
||||
},
|
||||
dependencies={}
|
||||
dependencies={},
|
||||
)
|
||||
}
|
||||
},
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user