Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new categories and uses to the Default Taxonomy #144

Merged
merged 23 commits into from
Aug 16, 2023
Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
dc52b4e
Add new categories and uses to the Default Taxonomy
ThomasLaPiana Aug 7, 2023
00c862a
feat: add new data categories
ThomasLaPiana Aug 8, 2023
822d273
Merge branch 'main' into ThomasLaPiana-add-data-categories
ThomasLaPiana Aug 8, 2023
bbe611b
feat: add uniqueness checks to the tests
ThomasLaPiana Aug 8, 2023
45d5270
fix: pyproject formatting
ThomasLaPiana Aug 8, 2023
870475f
feat: add new data uses
ThomasLaPiana Aug 8, 2023
215d391
fix: update number of data uses
ThomasLaPiana Aug 8, 2023
fda04a3
feat: further category updates are feedback
ThomasLaPiana Aug 9, 2023
9c3e791
fix: tests
ThomasLaPiana Aug 9, 2023
e302b6b
feat: export the new taxonomy
ThomasLaPiana Aug 9, 2023
8177c93
docs: changelog
ThomasLaPiana Aug 9, 2023
c6f787e
fix: try removing the cache for the static checks
ThomasLaPiana Aug 9, 2023
1819c5a
fix: test another pyyaml version
ThomasLaPiana Aug 9, 2023
628695e
fix: pyyaml checks
ThomasLaPiana Aug 9, 2023
a47f13e
fix: undo attempted build fixes
ThomasLaPiana Aug 9, 2023
b8580bc
Merge branch 'main' into ThomasLaPiana-add-data-categories
ThomasLaPiana Aug 9, 2023
d9675d5
Merge branch 'main' into ThomasLaPiana-add-data-categories
ThomasLaPiana Aug 14, 2023
39d8306
feat: update taxonomy changes based on review feedback
ThomasLaPiana Aug 15, 2023
68e1094
Merge branch 'main' into ThomasLaPiana-add-data-categories
ThomasLaPiana Aug 16, 2023
9da2bde
feat: small changes
ThomasLaPiana Aug 16, 2023
a568944
feat: add a test for parent key existence
ThomasLaPiana Aug 16, 2023
8e7bd91
docs: changelog
ThomasLaPiana Aug 16, 2023
e9d095d
feat: update exported files
ThomasLaPiana Aug 16, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: pyproject formatting
ThomasLaPiana committed Aug 8, 2023
commit 45d5270a4f139e5996357df1a20e074fd9d65596
49 changes: 25 additions & 24 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -5,16 +5,14 @@
requires = ["setuptools", "wheel", "setuptools_scm"]

[project]
name="fideslang"
description="Fides Taxonomy Language"
name = "fideslang"
description = "Fides Taxonomy Language"
dynamic = ["dependencies", "version"]
readme = "README.md"
requires-python=">=3.8, <4"
authors = [
{name = "Ethyca, Inc.", email = "fidesteam@ethyca.com"}
]
license= {text = "Apache License 2.0"}
classifiers=[
requires-python = ">=3.8, <4"
authors = [{ name = "Ethyca, Inc.", email = "fidesteam@ethyca.com" }]
license = { text = "Apache License 2.0" }
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
@@ -32,7 +30,7 @@ changelog = "https://github.com/ethyca/fideslang/blob/main/CHANGELOG.md"
write_to = "src/fideslang/_version.py"

[tool.setuptools.dynamic]
dependencies = {file = "requirements.txt"}
dependencies = { file = "requirements.txt" }

[tool.setuptools.packages.find]
where = ["src"]
@@ -55,8 +53,8 @@ warn_unused_ignores = true
ignore_missing_imports = true

[[tool.mypy.overrides]]
module= "fideslang._version"
ignore_errors=true
module = "fideslang._version"
ignore_errors = true

[[tool.mypy.overrides]]
module = ["tests.*"]
@@ -97,42 +95,45 @@ exclude = '''
## Pylint ##
############
[tool.pylint.messages_control]
ignore="migrations"
disable=[
ignore = ["migrations", "_version.py"]
disable = [
"line-too-long",
"too-few-public-methods",
"duplicate-code",
"import-error",
"unused-argument",
"no-self-use",
"import-outside-toplevel",
"unsubscriptable-object", # Otherwise throws errors on certain Type annotations
"unsubscriptable-object", # Otherwise throws errors on certain Type annotations
"too-many-arguments",
"missing-module-docstring",
"raise-missing-from",
"fixme"]
"fixme",
]
extension-pkg-whitelist = "pydantic"

[tool.pylint.reports]
reports="no"
output-format="colorized"
reports = "no"
output-format = "colorized"

[tool.pylint.format]
max-line-length="88"
max-line-length = "88"

[tool.pylint.basic]
good-names="_,i,setUp,tearDown,maxDiff,default_app_config"
good-names = "_,i,setUp,tearDown,maxDiff,default_app_config"

############
## Pytest ##
############
[tool.pytest.ini_options]
testpaths="tests"
testpaths = "tests"
log_level = "DEBUG"
addopts = ["--cov=fideslang",
"--cov-report=term-missing",
"-vv",
"--no-cov-on-fail",]
addopts = [
"--cov=fideslang",
"--cov-report=term-missing",
"-vv",
"--no-cov-on-fail",
]
markers = [
"unit: only runs tests that don't require non-python dependencies (i.e. a database)",
]