Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
satella
Manage
Activity
Members
Labels
Plan
Issues
1
Issue boards
Milestones
Wiki
Code
Merge requests
0
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
public
satella
Commits
7a858cec
Commit
7a858cec
authored
1 year ago
by
Piotr Maślanka
Browse files
Options
Downloads
Patches
Plain Diff
add Radon to CC
parent
25346265
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
.codeclimate.yml
+2
-0
2 additions, 0 deletions
.codeclimate.yml
.github/workflows/ci.yml
+5
-5
5 additions, 5 deletions
.github/workflows/ci.yml
README.md
+1
-2
1 addition, 2 deletions
README.md
with
8 additions
and
7 deletions
.codeclimate.yml
+
2
−
0
View file @
7a858cec
...
@@ -8,6 +8,8 @@ plugins:
...
@@ -8,6 +8,8 @@ plugins:
enabled
:
true
enabled
:
true
pylint
:
pylint
:
enabled
:
true
enabled
:
true
radon
:
enabled
:
true
exclude_paths
:
exclude_paths
:
-
tests/**
-
tests/**
-
docs/**
-
docs/**
...
...
This diff is collapsed.
Click to expand it.
.github/workflows/ci.yml
+
5
−
5
View file @
7a858cec
name
:
build-satella
name
:
CI
run-name
:
${{ github.actor }}
run-name
:
${{ github.actor }}
on
:
[
push
]
on
:
[
push
]
jobs
:
jobs
:
...
@@ -44,7 +44,7 @@ jobs:
...
@@ -44,7 +44,7 @@ jobs:
pip install -U pip setuptools wheel disttools packaging build
pip install -U pip setuptools wheel disttools packaging build
-
name
:
Alter Version
-
name
:
Alter Version
if
:
github.event_name == 'push' && contains(github.ref, 'refs/tags/')
if
:
github.event_name == 'push' && contains(github.ref, 'refs/tags/')
run
:
|
run
:
|
echo -e '__version__ = "' > satella/__init__.py
echo -e '__version__ = "' > satella/__init__.py
echo -e '${{ github.event.release.tag_name }}' >> satella/__init__.py
echo -e '${{ github.event.release.tag_name }}' >> satella/__init__.py
echo '"' >> satella/__init__.py
echo '"' >> satella/__init__.py
...
@@ -55,10 +55,10 @@ jobs:
...
@@ -55,10 +55,10 @@ jobs:
with
:
with
:
name
:
builds
name
:
builds
path
:
|
path
:
|
dist
dist
send-to-pypi
:
send-to-pypi
:
runs-on
:
"
ubuntu-20.04"
runs-on
:
"
ubuntu-20.04"
needs
:
[
"
build-project"
,
"
tests"
]
needs
:
[
"
build-project"
,
"
tests"
]
if
:
github.event_name == 'push' && contains(github.ref, 'refs/tags/')
if
:
github.event_name == 'push' && contains(github.ref, 'refs/tags/')
steps
:
steps
:
-
uses
:
actions/setup-python@main
-
uses
:
actions/setup-python@main
...
@@ -71,7 +71,7 @@ jobs:
...
@@ -71,7 +71,7 @@ jobs:
-
name
:
Download all builds artifacts
-
name
:
Download all builds artifacts
uses
:
actions/download-artifact@main
uses
:
actions/download-artifact@main
with
:
with
:
name
:
builds
name
:
builds
-
name
:
Send over packages to PyPI
-
name
:
Send over packages to PyPI
run
:
|
run
:
|
echo $PYPIRC_PASSWORD_DATA > ~/.pypirc
echo $PYPIRC_PASSWORD_DATA > ~/.pypirc
...
...
This diff is collapsed.
Click to expand it.
README.md
+
1
−
2
View file @
7a858cec
satella
satella
========
========
[
![Test Coverage
]
(https://api.codeclimate.com/v1/badges/34b392b61482d98ad3f0/test_coverage)](https://codeclimate.com/github/piotrmaslanka/satella/test_coverage)
[
![Code Climate
]
(https://codeclimate.com/github/piotrmaslanka/satella/badges/gpa.svg)](https://codeclimate.com/github/piotrmaslanka/satella)
[

](https://codeclimate.com/github/piotrmaslanka/satella)
[

](https://codeclimate.com/github/piotrmaslanka/satella)
[

](https://codeclimate.com/github/piotrmaslanka/satella)
[

](https://pypi.python.org/pypi/satella)
[

](https://pypi.python.org/pypi/satella)
[

](https://badge.fury.io/py/satella)
[

](https://badge.fury.io/py/satella)
...
...
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