Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
empyre
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
Teresa Weßels
empyre
Commits
5130c1a2
Commit
5130c1a2
authored
5 years ago
by
Jan Caron
Browse files
Options
Downloads
Patches
Plain Diff
flake8 changes to make it work again in VSCode
parent
bca72c5a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
environment.yml
+1
-0
1 addition, 0 deletions
environment.yml
pyramid/magcreator/__init__.py
+1
-1
1 addition, 1 deletion
pyramid/magcreator/__init__.py
setup.cfg
+6
-12
6 additions, 12 deletions
setup.cfg
with
8 additions
and
13 deletions
environment.yml
+
1
−
0
View file @
5130c1a2
...
...
@@ -44,6 +44,7 @@ dependencies:
-
jupyter=1.0
-
nb_conda=2.2
-
ptvsd=4.3
# Cell debugging in VS Code
# TODO: - ipywidgets
# TODO: Add back GUI dependencies!
# TODO: Get Jutil from gitlab (currently doesn't work, git and cygwin don't play nice,...
# TODO: ...because one is Unix, ond is Windows).
...
...
This diff is collapsed.
Click to expand it.
pyramid/magcreator/__init__.py
+
1
−
1
View file @
5130c1a2
...
...
@@ -6,7 +6,7 @@
from
.
import
shapes
from
.
import
examples
from
.magcreator
import
*
# noqa: F403 # TODO: Why is noqa still necessary? It's in setup.cfg :-(!
from
.magcreator
import
*
__all__
=
[
'
shapes
'
,
'
examples
'
]
__all__
.
extend
(
magcreator
.
__all__
)
This diff is collapsed.
Click to expand it.
setup.cfg
+
6
−
12
View file @
5130c1a2
...
...
@@ -107,11 +107,9 @@ source = pyramid
omit
=
tests/*
[tool:pytest]
# TODO: Check if everything is taylored to pyramid!
#addopts = --cov --flake8 # TODO: delete?
flake8-max-line-length
=
120
flake8-ignore
=
#ALL # TODO: PEP8 deactivated by this line (remove at a later point)!
[flake8]
max-line-length
=
120
ignore
=
E402
# module import not at top of file
E124
# closing bracket does not match visual indentation
E125
# continuation line with same indent as next logical line
...
...
@@ -119,10 +117,6 @@ flake8-ignore =
W503
# line break before binary operator
W504
# line break after binary operator
E741
# do not use variables named ‘l’, ‘O’, or ‘I’
pyramid/__init__.py
F401
# module imported but unused
pyramid/__init__.py
F403
# 'from module import *' used; unable to detect undefined names
pyramid/__init__.py
F405
# Name may be undefined, or defined from star imports: module
pyramid/magcreator/__init__.py
F401
# same as above
pyramid/magcreator/__init__.py
F403
# same as above
pyramid/magcreator/__init__.py
F405
# same as above
#doc/conf.py ALL # TODO: delete?
*/__init__.py
F401
# module imported but unused
*/__init__.py
F403
# 'from module import *' used; unable to detect undefined names
*/__init__.py
F405
# Name may be undefined, or defined from star imports: module
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment