Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-pylib
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
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
Code review analytics
Issue 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
caosdb
Software
caosdb-pylib
Commits
4f91ee87
Verified
Commit
4f91ee87
authored
2 years ago
by
Timm Fitschen
Browse files
Options
Downloads
Plain Diff
Merge branch 'dev' into f-filesystem-cleanup
parents
223e4481
fd4263b6
No related branches found
Branches containing commit
No related tags found
2 merge requests
!83
Draft: file system: cleanup
,
!58
F filesystem
Pipeline
#31688
passed
2 years ago
Stage: code_style
Stage: linting
Stage: test
Stage: deploy
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
README.md
+1
-1
1 addition, 1 deletion
README.md
README_SETUP.md
+8
-0
8 additions, 0 deletions
README_SETUP.md
pytest.ini
+0
-3
0 additions, 3 deletions
pytest.ini
setup.py
+1
-1
1 addition, 1 deletion
setup.py
tox.ini
+5
-0
5 additions, 0 deletions
tox.ini
with
15 additions
and
5 deletions
README.md
+
1
−
1
View file @
4f91ee87
...
...
@@ -39,7 +39,7 @@ By participating, you are expected to uphold our [Code of Conduct](https://gitla
*
If you have a suggestion for the
[
documentation
](
https://docs.indiscale.com/caosdb-pylib/
)
,
the preferred way is also a merge request as describe above (the documentation resides in
`src/doc`
).
However, you can also create an issue for it.
*
You can also contact us at
**info (AT) caosdb.
de
**
and join the
*
You can also contact us at
**info (AT) caosdb.
org
**
and join the
CaosDB community on
[
#caosdb:matrix.org
](
https://matrix.to/#/!unwwlTfOznjEnMMXxf:matrix.org
)
.
...
...
This diff is collapsed.
Click to expand it.
README_SETUP.md
+
8
−
0
View file @
4f91ee87
...
...
@@ -109,6 +109,8 @@ Now would be a good time to continue with the [tutorials](tutorials/index).
-
Run a specific test function: e.g.
`tox -- unittests/test_schema.py::test_config_files`
## Documentation ##
We use sphinx to create the documentation. Docstrings in the code should comply
with the Googly style (see link below).
Build documentation in
`build/`
with
`make doc`
.
...
...
@@ -118,5 +120,11 @@ Build documentation in `build/` with `make doc`.
-
`sphinx-autoapi`
-
`recommonmark`
### How to contribute ###
-
[
Google Style Python Docstrings
](
https://sphinxcontrib-napoleon.readthedocs.io/en/latest/example_google.html
)
-
[
Google Style Python Docstrings 2nd reference
](
https://github.com/google/styleguide/blob/gh-pages/pyguide.md#38-comments-and-docstrings
)
-
[
References to other documentation
](
https://www.sphinx-doc.org/en/master/usage/extensions/intersphinx.html#role-external
)
### Troubleshooting ###
If the client is to be executed directly from the
`/src`
folder, an initial
`.\setup.py install --user`
must be called.
This diff is collapsed.
Click to expand it.
pytest.ini
deleted
100644 → 0
+
0
−
3
View file @
223e4481
[pytest]
testpaths
=
unittests
addopts
=
-x -vv --cov=caosdb
This diff is collapsed.
Click to expand it.
setup.py
+
1
−
1
View file @
4f91ee87
...
...
@@ -174,7 +174,7 @@ def setup_package():
python_requires
=
'
>=3.8
'
,
package_dir
=
{
''
:
'
src
'
},
install_requires
=
[
'
lxml>=4.6.3
'
,
"
requests[socks]>=2.2
8.1
"
,
"
requests[socks]>=2.2
6
"
,
"
python-dateutil>=2.8.2
"
,
'
PyYAML>=5.4.1
'
,
'
future
'
,
...
...
This diff is collapsed.
Click to expand it.
tox.ini
+
5
−
0
View file @
4f91ee87
...
...
@@ -12,3 +12,8 @@ commands=py.test --cov=caosdb -vv {posargs}
[flake8]
max-line-length
=
100
[pytest]
testpaths
=
unittests
xfail_strict
=
True
addopts
=
-x -vv --cov=caosdb
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