Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pip-deps
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
Container registry
Model registry
Operate
Environments
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SCS
pip-deps
Commits
f9ca8aff
Commit
f9ca8aff
authored
5 years ago
by
Marek Chrastina
Browse files
Options
Downloads
Patches
Plain Diff
Add pycodestyle to CI
parent
15da1286
No related branches found
No related tags found
1 merge request
!1
Add py script
Pipeline
#8149
passed
5 years ago
Stage: test
Stage: build
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+6
-0
6 additions, 0 deletions
.gitlab-ci.yml
pipdeps/pipdeps.py
+1
-1
1 addition, 1 deletion
pipdeps/pipdeps.py
setup.py
+2
-2
2 additions, 2 deletions
setup.py
with
9 additions
and
3 deletions
.gitlab-ci.yml
+
6
−
0
View file @
f9ca8aff
...
...
@@ -8,6 +8,12 @@ mdcheck:
script
:
-
mdl *.md
pycodestyle
:
stage
:
test
image
:
it4innovations/docker-pycheck:latest
script
:
-
pycodestyle --max-line-length=100 *.py
pylint
:
stage
:
test
image
:
it4innovations/docker-pycheck:latest
...
...
This diff is collapsed.
Click to expand it.
pipdeps/pipdeps.py
+
1
−
1
View file @
f9ca8aff
...
...
@@ -212,7 +212,7 @@ def parse_requires_txt(package, version):
else
:
par
.
append
(
line
.
strip
())
content
=
"
\n
"
.
join
(
par
)
os
.
unlink
(
tmp_file
.
name
)
os
.
unlink
(
tmp_file
.
name
)
return
content
def
find_new_dependencies
(
package
,
version
,
package_list
,
pyver
):
...
...
This diff is collapsed.
Click to expand it.
setup.py
+
2
−
2
View file @
f9ca8aff
...
...
@@ -24,10 +24,10 @@ setup(
namespace_packages
=
[
'
pipdeps
'
],
zip_safe
=
False
,
version
=
'
0.0.1
'
,
#version_format='{tag}',
#
version_format='{tag}',
long_description_markdown_filename
=
'
README.md
'
,
setup_requires
=
[
'
setuptools-markdown
'
],
#setup_requires=['setuptools-git-version', 'setuptools-markdown'],
#
setup_requires=['setuptools-git-version', 'setuptools-markdown'],
install_requires
=
[
'
packaging
'
,
'
pipdeptree
'
,
...
...
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