Skip to content

Commit

Permalink
chore: remove unnecessary folders
Browse files Browse the repository at this point in the history
  • Loading branch information
jsolaas committed Sep 19, 2023
1 parent 60e8403 commit 51af982
Show file tree
Hide file tree
Showing 504 changed files with 11 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* @equinor/ecalc-ops-team

# eCalc Lib
/src/ecalc/ @equinor/ecalc-core-library-team
/src/ @equinor/ecalc-core-library-team

# Examples
/examples/ @equinor/ecalc-core-library-team
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ jobs:

- name: Generate CLI reference
run: |
cd src/ecalc/cli
poetry run python generate_docs.py > ../../../docs/docs/about/references/cli_reference.md
cd src
poetry run python generate_docs.py > ../docs/docs/about/references/cli_reference.md
- name: Setup node
uses: actions/setup-node@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ jobs:

- name: Generate CLI reference
run: |
cd src/ecalc/cli
poetry run python generate_docs.py > ../../../docs/docs/about/references/cli_reference.md
cd src
poetry run python generate_docs.py > ../docs/docs/about/references/cli_reference.md
- name: Setup node
uses: actions/setup-node@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
changelog-types: '[{ "type": "feat", "section": "Features", "hidden": false },{ "type": "feature", "section": "Features", "hidden": false },{ "type": "fix", "section": "Bug Fixes", "hidden": false },{ "type": "perf", "section": "Performance Improvements", "hidden": false },{ "type": "revert", "section": "Reverts", "hidden": false },{ "type": "docs", "section": "Documentation", "hidden": false },{ "type": "style", "section": "Styles", "hidden": false },{ "type": "chore", "section": "Miscellaneous Chores", "hidden": false },{ "type": "refactor", "section": "Code Refactoring", "hidden": false },{ "type": "test", "section": "Tests", "hidden": false },{ "type": "build", "section": "Build System", "hidden": false },{ "type": "ci", "section": "Continuous Integration", "hidden": false }]'
extra-files: |
pyproject.toml
src/ecalc/libraries/libecalc/common/libecalc/version.py
src/libecalc/common/version.py
- uses: actions/checkout@v2
- name: Create vX.Y release branch (for simpler patching) - if normal release (not patching)
if: ${{ steps.release.outputs.release_created && env.VERSIONING_STRATEGY != 'always-bump-patch' }}
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ repos:
rev: v1.4.1
hooks:
- id: mypy
files: ^(src/ecalc/)
files: ^(src/)
exclude: tests|conftest.py
args: ['--config-file=./pyproject.toml']
additional_dependencies:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ FROM dev AS build
COPY . .
RUN python3 -m venv $VIRTUAL_ENV && poetry install

WORKDIR /project/libecalc/src/ecalc/
WORKDIR /project/libecalc/src/


FROM dev as dist
Expand Down
6 changes: 3 additions & 3 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,10 @@ $ npm run serve
```

### Generate CLI reference documentation
In order to generate the CLI reference documentation, use the following (from `src/ecalc/cli`):
In order to generate the CLI reference documentation, use the following (from `src`):
```
$ cd src/ecalc/cli
$ poetry run python generate_docs.py > ../../../docs/docs/about/references/cli_reference.md
$ cd src
$ poetry run python generate_docs.py > ../docs/docs/about/references/cli_reference.md
```

Then build the documentation:
Expand Down
6 changes: 0 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,6 @@ classifiers=[
"Natural Language :: English",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
]
packages = [
{ include = "cli", from = "src/ecalc/cli" },
{ include = "neqsim_ecalc_wrapper", from = "src/ecalc/libraries/neqsim" },
{ include = "libecalc", from = "src/ecalc/libraries/libecalc/common" },
{ include = "libecalc", from = "src/ecalc/libraries/libecalc/fixtures" },
]

[tool.poetry.scripts]
ecalc = 'cli.main:main'
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import libecalc.common.time_utils
import libecalc.version
from cli.logger import logger
from neqsim_ecalc_wrapper import start_server
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 0 additions & 1 deletion src/ecalc/libraries/neqsim/tests/__init__.py

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 51af982

Please sign in to comment.