Skip to content

Commit

Permalink
Start github workflow pre-commit.yaml also on pull requests
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-hg57 committed Jan 9, 2025
1 parent a9a7ae9 commit 431deae
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pre-commit.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: pre-commit

on: [push]
on: [push, pull_request]

jobs:
pre-commit:
Expand Down
32 changes: 17 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,26 +116,14 @@ export BUILD_IN_DOCKER=true
make modernpython
```

## License

This project is released under the terms of the [Apache 2.0 license](./LICENSE).

## Publications

If you are using CIMgen for your research, please cite the following paper in
your publications:
## Development

Dinkelbach, J., Razik, L., Mirz, M., Benigni, A., Monti, A.: Template-based
generation of programming language specific code for smart grid modelling
compliant with CIM and CGMES.
J. Eng. 2023, 1-13 (2022). [https://doi.org/10.1049/tje2.12208](https://doi.org/10.1049/tje2.12208)

## Developer Installation
### Developer Installation

```bash
git clone https://github.com/sogno-platform/cimgen.git
cd cimgen
python3 -m pip install -e .[dev]
pip install -e .[dev]
```

Run pre-commit checks manually:
Expand All @@ -149,3 +137,17 @@ Install pre-commit hook to run it automatically:
```bash
pre-commit install
```

## License

This project is released under the terms of the [Apache 2.0 license](./LICENSE).

## Publications

If you are using CIMgen for your research, please cite the following paper in
your publications:

Dinkelbach, J., Razik, L., Mirz, M., Benigni, A., Monti, A.: Template-based
generation of programming language specific code for smart grid modelling
compliant with CIM and CGMES.
J. Eng. 2023, 1-13 (2022). [https://doi.org/10.1049/tje2.12208](https://doi.org/10.1049/tje2.12208)

0 comments on commit 431deae

Please sign in to comment.