Skip to content

Commit 6b7aac9

Browse files
authored
Merge pull request #6 from giorgiopizz/devs
A mature version of the framework with support for post processing and shapes
2 parents 58a3c3c + 9afdc3e commit 6b7aac9

File tree

148 files changed

+20322
-1504
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

148 files changed

+20322
-1504
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: tests
2+
run-name: ${{ github.actor }} is running mkShapesRDF tests 🚀
3+
on: [push]
4+
jobs:
5+
tests:
6+
runs-on: self-hosted
7+
steps:
8+
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
9+
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
10+
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
11+
- name: Check out repository code
12+
uses: actions/checkout@v3
13+
- run: |
14+
cd ${{ github.workspace }}
15+
./tests/test_env.sh
16+
- run: echo "All done"
17+
- run: echo "🍏 This job's status is ${{ job.status }}."

.gitignore

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,15 @@
11
#*
22
.#
3+
\#*#
4+
**.root
5+
**__py*
6+
*.egg*
7+
myenv*
8+
examples/*/*_cc*
9+
examples/*/*/
10+
**~
11+
mkShapesRDF/processor/condor/*
12+
mkShapesRDF/processor/data/jsonpog*
13+
start.sh
14+
*build*
15+
*html*

.pre-commit-config.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
repos:
2+
- repo: local
3+
hooks:
4+
- id: flake8
5+
name: flake8
6+
entry: python -m flake8
7+
language: system
8+
types: [python]
9+
exclude: 'examples'
10+
- id: black
11+
name: black
12+
entry: python -m black --check
13+
language: system
14+
types: [python]
15+
exclude: 'examples|docs'

.readthedocs.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# .readthedocs.yml
2+
# Read the Docs configuration file
3+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
4+
5+
# Required
6+
version: 2
7+
8+
# Build documentation in the docs/ directory with Sphinx
9+
sphinx:
10+
configuration: docs/conf.py
11+
12+
# # Include PDF and ePub
13+
# formats: all
14+
15+
build:
16+
os: "ubuntu-20.04"
17+
tools:
18+
python: "mambaforge-4.10"
19+
20+
conda:
21+
environment: environment.yml
22+
23+
python:
24+
install:
25+
- method: pip
26+
path: .
27+
extra_requirements:
28+
- docs

.vscode/settings.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"[python]": {
3+
"editor.defaultFormatter": "ms-python.black-formatter",
4+
"editor.formatOnType": true
5+
},
6+
"python.formatting.provider": "black",
7+
"python.formatting.blackArgs": [
8+
"--config",
9+
"pyproject.toml"],
10+
"python.linting.enabled": true,
11+
"python.linting.flake8Enabled": true,
12+
"python.linting.flake8Args": [
13+
"--config=setup.cfg"
14+
],
15+
"flake8.args": [
16+
"--config=setup.cfg"
17+
],
18+
"autoDocstring.docstringFormat": "numpy",
19+
"autoDocstring.startOnNewLine": true,
20+
"python.pythonPath": "myenv/bin/python3",
21+
}

2016Real/configuration.py

Lines changed: 0 additions & 34 deletions
This file was deleted.

2016Real/cuts.py

Lines changed: 0 additions & 34 deletions
This file was deleted.

2016Real/plot.py

Lines changed: 0 additions & 58 deletions
This file was deleted.

0 commit comments

Comments
 (0)