Skip to content

Commit

Permalink
fix(create-ontology): within an ontology, references to the ontology …
Browse files Browse the repository at this point in the history
…itself are not possible (DEV-135) (#130)

* refactor: add some typing

* feat: improve schema

* chore: make install command use pips editable install

* fix: potential NPE

* docs: update documentation

* fix: not able to reference ontology in itself

* fix: allow comma in PR title

* refactor: simplify context handling

* docs: improve documentation

* docs: address errors in documentation

* refactor: simplify context creation and improve comments

* refactor: tidy up a bit
  • Loading branch information
BalduinLandolt committed Dec 1, 2021
1 parent 85a40c2 commit 6a40fc6
Show file tree
Hide file tree
Showing 14 changed files with 924 additions and 820 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ckeck-pr-title.yml
Expand Up @@ -12,9 +12,9 @@ jobs:
# check PR title
- uses: deepakputhraya/action-pr-title@master
with:
regex: '([a-z])+(\(([a-z\-_ ])+\))?!?: [a-z]([a-zA-Z-\.\d \(\)\[\]#_])+$' # Regex the title should match.
allowed_prefixes: 'fix,refactor,feat,docs,chore,style,test' # title should start with the given prefix
disallowed_prefixes: 'feature,hotfix' # title should not start with the given prefix
regex: '([a-z])+(\(([a-z\-_ ])+\))?!?: [a-z]([a-zA-Z-\.\d \(\)\[\]#_,])+$' # Regex the title should match.
allowed_prefixes: "fix,refactor,feat,docs,chore,style,test" # title should start with the given prefix
disallowed_prefixes: "feature,hotfix" # title should not start with the given prefix
prefix_case_sensitive: true # title prefix are case insensitive
min_length: 7 # Min length of the title
max_length: 120 # Max length of the title
3 changes: 3 additions & 0 deletions .gitignore
Expand Up @@ -68,3 +68,6 @@ out.json
# bazel
/bazel-*
/.ijwb/

# for testing in development
tmp/
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -54,7 +54,7 @@ install-requirements: ## install requirements
.PHONY: install
install: ## install from source (runs setup.py)
python3 -m pip install --upgrade pip
pip3 install .
pip3 install -e .

.PHONY: test
test: clean local-tmp clone-dsp-repo dsp-stack ## run all tests
Expand Down

0 comments on commit 6a40fc6

Please sign in to comment.