diff --git a/.github/workflows/build_and_publish.yml b/.github/workflows/build_and_publish.yml index 7d4a2d2..64ebcf8 100644 --- a/.github/workflows/build_and_publish.yml +++ b/.github/workflows/build_and_publish.yml @@ -1,4 +1,4 @@ -name: Check PR resotodatalink +name: Check PR fixdatalink on: push: tags: @@ -11,8 +11,8 @@ on: workflow_dispatch: jobs: - resotodatalink: - name: 'resotodatalink' + fixdatalink: + name: 'fixdatalink' runs-on: ubuntu-latest steps: - name: Checkout @@ -50,5 +50,5 @@ jobs: uses: pypa/gh-action-pypi-publish@release/v1 with: user: __token__ - password: ${{ secrets.PYPI_RESOTODATALINK }} + password: ${{ secrets.PYPI_FIXDATALINK }} packages_dir: ./dist/ diff --git a/LICENSE b/LICENSE index 377d9ad..77a68b6 100644 --- a/LICENSE +++ b/LICENSE @@ -629,7 +629,7 @@ to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. - resotodatalink. + fixdatalink. Copyright (C) 2023 Some Engineering Inc. This program is free software: you can redistribute it and/or modify diff --git a/Makefile b/Makefile index e7cce30..390346e 100644 --- a/Makefile +++ b/Makefile @@ -56,9 +56,9 @@ clean-env: ## remove environment rm -fr venv-pypy lint: ## static code analysis - black --line-length 120 --check resotodatalink tests - flake8 resotodatalink - mypy --python-version 3.9 --strict resotodatalink tests + black --line-length 120 --check fixdatalink tests + flake8 fixdatalink + mypy --python-version 3.9 --strict fixdatalink tests test: ## run tests quickly with the default Python pytest @@ -67,7 +67,7 @@ test-all: ## run tests on every Python version with tox tox coverage: ## check code coverage quickly with the default Python - coverage run --source resotolib -m pytest + coverage run --source fixlib -m pytest coverage combine coverage report -m coverage html @@ -75,7 +75,7 @@ coverage: ## check code coverage quickly with the default Python setup: rm -fr venv - python3 -m venv venv --prompt "resotodatalink venv" + python3 -m venv venv --prompt "fixdatalink venv" ./venv/bin/python3 -m pip install --upgrade pip tox ./venv/bin/pip3 install -r requirements-all.txt ./venv/bin/pip3 install -e "." @@ -84,7 +84,7 @@ setup: update: rm -fr venv - python3 -m venv venv --prompt "resotodatalink venv" + python3 -m venv venv --prompt "fixdatalink venv" ./venv/bin/python3 -m pip install --upgrade pip tox ./venv/bin/pip3 install -e ".[dev,test,snowflake,mysql,parquet,postgres]" pip-compile -q --no-annotate --resolver=backtracking --upgrade --allow-unsafe --no-header -o requirements.txt --extra=extra diff --git a/README.md b/README.md index 8acc314..2201297 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# resotodatalink -Data Pipelines for Resoto infrastructure data +# fixdatalink +Data Pipelines for Fix infrastructure data diff --git a/resotodatalink/__init__.py b/fixdatalink/__init__.py similarity index 100% rename from resotodatalink/__init__.py rename to fixdatalink/__init__.py diff --git a/resotodatalink/analytics.py b/fixdatalink/analytics.py similarity index 97% rename from resotodatalink/analytics.py rename to fixdatalink/analytics.py index d7fbe47..584825b 100644 --- a/resotodatalink/analytics.py +++ b/fixdatalink/analytics.py @@ -7,7 +7,7 @@ from requests import get from posthog.client import Client -log = logging.getLogger("resoto.datalink") +log = logging.getLogger("fix.datalink") class AnalyticsEventSender(ABC): diff --git a/resotodatalink/arrow/__init__.py b/fixdatalink/arrow/__init__.py similarity index 100% rename from resotodatalink/arrow/__init__.py rename to fixdatalink/arrow/__init__.py diff --git a/resotodatalink/arrow/config.py b/fixdatalink/arrow/config.py similarity index 100% rename from resotodatalink/arrow/config.py rename to fixdatalink/arrow/config.py diff --git a/resotodatalink/arrow/model.py b/fixdatalink/arrow/model.py similarity index 93% rename from resotodatalink/arrow/model.py rename to fixdatalink/arrow/model.py index 61cfc43..24b5410 100644 --- a/resotodatalink/arrow/model.py +++ b/fixdatalink/arrow/model.py @@ -1,13 +1,13 @@ -from resotoclient.models import Kind, Model +from fixclient.models import Kind, Model from typing import Dict, List, Tuple, Literal import pyarrow as pa -from resotodatalink.schema_utils import ( +from fixdatalink.schema_utils import ( base_kinds, get_table_name, get_link_table_name, kind_properties, ) -from resotodatalink.arrow.type_converter import parquet_pyarrow_type, csv_pyarrow_type +from fixdatalink.arrow.type_converter import parquet_pyarrow_type, csv_pyarrow_type from functools import partial diff --git a/resotodatalink/arrow/type_converter.py b/fixdatalink/arrow/type_converter.py similarity index 95% rename from resotodatalink/arrow/type_converter.py rename to fixdatalink/arrow/type_converter.py index af4abf6..5d3f893 100644 --- a/resotodatalink/arrow/type_converter.py +++ b/fixdatalink/arrow/type_converter.py @@ -1,6 +1,6 @@ import pyarrow as pa -from resotoclient.models import Model -from resotodatalink.schema_utils import kind_properties +from fixclient.models import Model +from fixdatalink.schema_utils import kind_properties def parquet_pyarrow_type(kind: str, model: Model) -> pa.lib.DataType: diff --git a/resotodatalink/arrow/writer.py b/fixdatalink/arrow/writer.py similarity index 96% rename from resotodatalink/arrow/writer.py rename to fixdatalink/arrow/writer.py index a8cbe64..5037c6d 100644 --- a/resotodatalink/arrow/writer.py +++ b/fixdatalink/arrow/writer.py @@ -11,10 +11,10 @@ import pyarrow.csv as csv import pyarrow.parquet as pq from google.cloud import storage -from resotolib.json import value_in_path -from resotolib.types import Json +from fixlib.json import value_in_path +from fixlib.types import Json -from resotodatalink.arrow.config import ( +from fixdatalink.arrow.config import ( ArrowOutputConfig, FileDestination, CloudBucketDestination, @@ -22,8 +22,8 @@ GCSBucket, ArrowDestination, ) -from resotodatalink.arrow.model import ArrowModel -from resotodatalink.schema_utils import get_table_name, get_link_table_name, carz_access +from fixdatalink.arrow.model import ArrowModel +from fixdatalink.schema_utils import get_table_name, get_link_table_name, carz_access class WriteResult(NamedTuple): @@ -233,7 +233,7 @@ def sha(input: str) -> str: result_dir = ensure_path(output_config.destination.path) else: hashed_url = sha(output_config.destination.bucket_name) - result_dir = ensure_path(Path(f"/tmp/resotodatalink-uploads/{hashed_url}")) + result_dir = ensure_path(Path(f"/tmp/fixdatalink-uploads/{hashed_url}")) file_writer_format: Union[Parquet, CSV] file_path: Path diff --git a/resotodatalink/batch_stream.py b/fixdatalink/batch_stream.py similarity index 94% rename from resotodatalink/batch_stream.py rename to fixdatalink/batch_stream.py index 8b039e8..cf4551c 100644 --- a/resotodatalink/batch_stream.py +++ b/fixdatalink/batch_stream.py @@ -2,10 +2,10 @@ from itertools import chain from typing import AsyncIterator, Any, Callable, Dict, List, Iterator, Union -from resotolib.baseplugin import BaseCollectorPlugin -from resotolib.baseresources import EdgeType +from fixlib.baseplugin import BaseCollectorPlugin +from fixlib.baseresources import EdgeType -from resotodatalink.schema_utils import prepare_node, prepare_edge +from fixdatalink.schema_utils import prepare_node, prepare_edge async def sync_to_async_iterator(it: Iterator[Any]) -> AsyncIterator[Any]: diff --git a/resotodatalink/collect_plugins.py b/fixdatalink/collect_plugins.py similarity index 94% rename from resotodatalink/collect_plugins.py rename to fixdatalink/collect_plugins.py index 10b71fe..ce29080 100644 --- a/resotodatalink/collect_plugins.py +++ b/fixdatalink/collect_plugins.py @@ -4,26 +4,26 @@ from typing import List, Tuple, Set, Optional, AsyncIterator, Union, cast, Dict, TypeVar, Awaitable, Any import jsons -from resotoclient import Kind, Model -from resotolib.baseplugin import BaseCollectorPlugin -from resotolib.baseresources import BaseResource, EdgeType -from resotolib.core.actions import CoreFeedback -from resotolib.types import Json +from fixclient import Kind, Model +from fixlib.baseplugin import BaseCollectorPlugin +from fixlib.baseresources import BaseResource, EdgeType +from fixlib.core.actions import CoreFeedback +from fixlib.types import Json from sqlalchemy import create_engine, text -from resotodatalink import EngineConfig -from resotodatalink.arrow.config import ArrowOutputConfig -from resotodatalink.batch_stream import BatchStream -from resotodatalink.sql import sql_updater +from fixdatalink import EngineConfig +from fixdatalink.arrow.config import ArrowOutputConfig +from fixdatalink.batch_stream import BatchStream +from fixdatalink.sql import sql_updater try: - from resotodatalink.arrow.model import ArrowModel - from resotodatalink.arrow.writer import ArrowWriter + from fixdatalink.arrow.model import ArrowModel + from fixdatalink.arrow.writer import ArrowWriter except ImportError: ArrowModel = type(None) # type: ignore ArrowWriter = type(None) # type: ignore -log = getLogger("resoto.datalink") +log = getLogger("fix.datalink") T = TypeVar("T") diff --git a/resotodatalink/py.typed b/fixdatalink/py.typed similarity index 100% rename from resotodatalink/py.typed rename to fixdatalink/py.typed diff --git a/resotodatalink/remote_graph.py b/fixdatalink/remote_graph.py similarity index 80% rename from resotodatalink/remote_graph.py rename to fixdatalink/remote_graph.py index e7ba1ae..42a4f10 100644 --- a/resotodatalink/remote_graph.py +++ b/fixdatalink/remote_graph.py @@ -2,9 +2,9 @@ from typing import Optional, ClassVar from attr import define, field -from resotoclient import ResotoClient, JsObject -from resotolib.baseplugin import BaseCollectorPlugin -from resotolib.baseresources import ( +from fixclient import FixClient, JsObject +from fixlib.baseplugin import BaseCollectorPlugin +from fixlib.baseresources import ( BaseResource, Cloud, EdgeType, @@ -12,21 +12,21 @@ UnknownRegion, UnknownAccount, ) -from resotolib.config import Config -from resotolib.core.actions import CoreFeedback -from resotolib.core.model_export import node_from_dict -from resotolib.graph import Graph -from resotolib.json import value_in_path -from resotolib.logger import log -from resotolib.types import Json +from fixlib.config import Config +from fixlib.core.actions import CoreFeedback +from fixlib.core.model_export import node_from_dict +from fixlib.graph import Graph +from fixlib.json import value_in_path +from fixlib.logger import log +from fixlib.types import Json @define class RemoteGraphConfig: kind: ClassVar[str] = "remote_graph" - resoto_url: str = field(default="https://localhost:8900", metadata={"description": "URL of the resoto server"}) - psk: Optional[str] = field(default=None, metadata={"description": "Pre-shared key for the resoto server"}) - graph: str = field(default="resoto", metadata={"description": "Name of the graph to use"}) + fix_url: str = field(default="https://localhost:8900", metadata={"description": "URL of the fix server"}) + psk: Optional[str] = field(default=None, metadata={"description": "Pre-shared key for the fix server"}) + graph: str = field(default="fix", metadata={"description": "Name of the graph to use"}) search: Optional[str] = field( default=None, metadata={"description": "Search string to filter resources. None to get all resources."} ) @@ -58,7 +58,7 @@ def collect(self) -> None: def _collect_remote_graph(self) -> Graph: config: RemoteGraphConfig = Config.remote_graph - client = ResotoClient(config.resoto_url, psk=config.psk) + client = FixClient(config.fix_url, psk=config.psk) search = config.search or "is(graph_root) -[2:]->" return self._collect_from_graph_iterator(client.search_graph(search, graph=config.graph)) diff --git a/resotodatalink/schema_utils.py b/fixdatalink/schema_utils.py similarity index 91% rename from resotodatalink/schema_utils.py rename to fixdatalink/schema_utils.py index 0fcf294..b541c9b 100644 --- a/resotodatalink/schema_utils.py +++ b/fixdatalink/schema_utils.py @@ -1,12 +1,12 @@ import inspect from typing import List, Dict, Tuple -from resotoclient.models import Property, Kind, Model -from resotolib import baseresources -from resotolib.baseplugin import BaseCollectorPlugin -from resotolib.baseresources import BaseResource, EdgeType -from resotolib.core.model_export import node_to_dict -from resotolib.types import Json +from fixclient.models import Property, Kind, Model +from fixlib import baseresources +from fixlib.baseplugin import BaseCollectorPlugin +from fixlib.baseresources import BaseResource, EdgeType +from fixlib.core.model_export import node_to_dict +from fixlib.types import Json # This set will hold the names of all "base" resources # Since that are abstract classes, there will be no instances of them - hence we do not need a table for them. diff --git a/resotodatalink/show_progress.py b/fixdatalink/show_progress.py similarity index 96% rename from resotodatalink/show_progress.py rename to fixdatalink/show_progress.py index 6c59e0a..c94a222 100644 --- a/resotodatalink/show_progress.py +++ b/fixdatalink/show_progress.py @@ -1,8 +1,8 @@ import shutil from typing import Optional, Dict, Any, List -from resotolib.core.progress import ProgressTree, Progress -from resotolib.types import Json +from fixlib.core.progress import ProgressTree, Progress +from fixlib.types import Json from rich.console import Group from rich.markdown import Markdown from rich.text import Text diff --git a/resotodatalink/snowflake.py b/fixdatalink/snowflake.py similarity index 93% rename from resotodatalink/snowflake.py rename to fixdatalink/snowflake.py index d99fcf8..3e8c5f0 100644 --- a/resotodatalink/snowflake.py +++ b/fixdatalink/snowflake.py @@ -2,18 +2,18 @@ import logging from typing import Any, List, Iterator -from resotoclient import Model -from resotolib.types import Json +from fixclient import Model +from fixlib.types import Json from snowflake.sqlalchemy import ARRAY, OBJECT from sqlalchemy import Integer, Float, String, Boolean, column from sqlalchemy import select from sqlalchemy.sql import Values from sqlalchemy.sql.dml import ValuesBase -from resotodatalink.schema_utils import kind_properties, get_table_name -from resotodatalink.sql import SqlDefaultUpdater, DialectUpdater +from fixdatalink.schema_utils import kind_properties, get_table_name +from fixdatalink.sql import SqlDefaultUpdater, DialectUpdater -log = logging.getLogger("resoto.datalink") +log = logging.getLogger("fix.datalink") def kind_to_snowflake_type(kind_name: str, model: Model, **kwargs: Any) -> Any: # Type[TypeEngine[Any]] diff --git a/resotodatalink/sql.py b/fixdatalink/sql.py similarity index 97% rename from resotodatalink/sql.py rename to fixdatalink/sql.py index 074165e..b2d0e26 100644 --- a/resotodatalink/sql.py +++ b/fixdatalink/sql.py @@ -3,9 +3,9 @@ from datetime import datetime, date from typing import List, Any, Type, Tuple, Dict, Iterator, Optional, Union -from resotoclient.models import Kind, Model, Property -from resotolib.types import Json -from resotolib.utils import UTC_Date_Format +from fixclient.models import Kind, Model, Property +from fixlib.types import Json +from fixlib.utils import UTC_Date_Format from sqlalchemy import ( Boolean, Column, @@ -25,8 +25,8 @@ from sqlalchemy.sql.ddl import DropTable, DropConstraint from sqlalchemy.sql.dml import ValuesBase -from resotodatalink import EngineConfig -from resotodatalink.schema_utils import ( +from fixdatalink import EngineConfig +from fixdatalink.schema_utils import ( base_kinds, temp_prefix, carz_access, @@ -34,10 +34,10 @@ get_link_table_name, kind_properties, ) -from resotolib.json import value_in_path +from fixlib.json import value_in_path from sqlalchemy import create_engine -log = logging.getLogger("resoto.datalink") +log = logging.getLogger("fix.datalink") class DateTimeString(TypeDecorator): # type: ignore diff --git a/pyproject.toml b/pyproject.toml index 26b4166..9fa09be 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,8 +1,8 @@ [project] -name = "resotodatalink" -version = "1.2.1" +name = "fixdatalink" +version = "2.0.0" authors = [{name="Some Engineering Inc."}] -description = "Data Pipelines for Resoto infrastructure data." +description = "Data Pipelines for Fix infrastructure data." license = {file="LICENSE"} requires-python = ">=3.9" classifiers = [ @@ -29,8 +29,8 @@ keywords = ["data source", "data sink", "data synchronization", "data pipeline"] dependencies = [ "networkx", - "resotoclient>=1.5.0", - "resotolib", + "fixclient>=2.0.0", + "fixinventorylib", "rich", "sqlalchemy", ] @@ -78,16 +78,16 @@ test = [ "pytest-runner", "tox", "wheel", - "resoto-plugin-example-collector" + "fix-plugin-example-collector" ] [project.urls] -Documentation = "https://resoto.com" -Source = "https://github.com/someengineering/resotodatalink" +Documentation = "https://fix.com" +Source = "https://github.com/someengineering/fixdatalink" [build-system] requires = ["setuptools>=67.8.0", "wheel>=0.40.0", "build>=0.10.0"] build-backend = "setuptools.build_meta" [tool.setuptools.package-data] -resotodatalink = ["py.typed"] +fixdatalink = ["py.typed"] diff --git a/requirements-all.txt b/requirements-all.txt index 221e39f..3ca54be 100644 --- a/requirements-all.txt +++ b/requirements-all.txt @@ -100,9 +100,9 @@ python-dateutil==2.8.2 pytz==2023.3.post1 pyyaml==6.0.1 requests==2.31.0 -resoto-plugin-example-collector==3.8.0 -resotoclient==1.6.2 -resotolib==3.8.0 +fixinventory-plugin-example-collector==4.0.0a2 +fixclient==2.0.0 +fixinventorylib==4.0.0a1 rich==13.7.0 rsa==4.9 s3transfer==0.10.0 diff --git a/requirements.txt b/requirements.txt index 4350599..41c84a4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -66,8 +66,8 @@ python-dateutil==2.8.2 pytz==2023.3.post1 pyyaml==6.0.1 requests==2.31.0 -resotoclient==1.6.2 -resotolib==3.8.0 +fixclient==2.0.0 +fixinventorylib==4.0.0a1 rich==13.7.0 rsa==4.9 s3transfer==0.10.0 diff --git a/setup.cfg b/setup.cfg index fda6527..54e4c35 100644 --- a/setup.cfg +++ b/setup.cfg @@ -5,5 +5,5 @@ follow_imports = silent [flake8] max-line-length = 120 exclude = .git,.tox,__pycache__,.idea,.pytest_cache,docs -application-import-names = resotocore tests +application-import-names = fixcore tests ignore = N818, W503, E203 diff --git a/tests/arrow/model_test.py b/tests/arrow/model_test.py index 70a5fb8..af3912f 100644 --- a/tests/arrow/model_test.py +++ b/tests/arrow/model_test.py @@ -1,6 +1,6 @@ -from resotoclient.models import Model +from fixclient.models import Model -from resotodatalink.arrow.model import ArrowModel +from fixdatalink.arrow.model import ArrowModel def test_create_schema(model: Model) -> None: diff --git a/tests/arrow/writer_test.py b/tests/arrow/writer_test.py index 4f8fc1e..3d43199 100644 --- a/tests/arrow/writer_test.py +++ b/tests/arrow/writer_test.py @@ -1,6 +1,6 @@ import pyarrow as pa -from resotodatalink.arrow.writer import ( +from fixdatalink.arrow.writer import ( collect_normalization_paths, normalize, ParquetMap, diff --git a/tests/batch_stream_test.py b/tests/batch_stream_test.py index 564d336..8e79efd 100644 --- a/tests/batch_stream_test.py +++ b/tests/batch_stream_test.py @@ -1,4 +1,4 @@ -from resotodatalink.batch_stream import BatchStream +from fixdatalink.batch_stream import BatchStream import pytest diff --git a/tests/collect_plugins_test.py b/tests/collect_plugins_test.py index 9dc1991..18064e0 100644 --- a/tests/collect_plugins_test.py +++ b/tests/collect_plugins_test.py @@ -5,14 +5,14 @@ from typing import Dict, List import pytest -from resoto_plugin_example_collector import ExampleCollectorPlugin -from resotolib.core.actions import CoreFeedback +from fix_plugin_example_collector import ExampleCollectorPlugin +from fixlib.core.actions import CoreFeedback from sqlalchemy import MetaData, create_engine from sqlalchemy.orm import Session -from resotodatalink import EngineConfig -from resotodatalink.arrow.config import ArrowOutputConfig, FileDestination -from resotodatalink.collect_plugins import collect_sql, collect_to_file, execute_sql +from fixdatalink import EngineConfig +from fixdatalink.arrow.config import ArrowOutputConfig, FileDestination +from fixdatalink.collect_plugins import collect_sql, collect_to_file, execute_sql @pytest.mark.asyncio diff --git a/tests/conftest.py b/tests/conftest.py index 6006905..c6b029b 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,19 +1,19 @@ from queue import Queue from typing import List, Iterator -from resoto_plugin_example_collector import ExampleAccount, ExampleRegion, ExampleInstance, ExampleVolume -from resotoclient.models import Model, Kind, Property +from fix_plugin_example_collector import ExampleAccount, ExampleRegion, ExampleInstance, ExampleVolume +from fixclient.models import Model, Kind, Property from pytest import fixture -from resotolib.baseresources import GraphRoot, Cloud -from resotolib.core.actions import CoreFeedback -from resotolib.graph import Graph -from resotolib.types import Json +from fixlib.baseresources import GraphRoot, Cloud +from fixlib.core.actions import CoreFeedback +from fixlib.graph import Graph +from fixlib.types import Json from sqlalchemy.engine import create_engine, Engine -from resotodatalink.sql import SqlDefaultUpdater -from resotodatalink.arrow.model import ArrowModel -from resotodatalink.arrow.writer import ArrowWriter -from resotodatalink.arrow.config import ArrowOutputConfig, FileDestination +from fixdatalink.sql import SqlDefaultUpdater +from fixdatalink.arrow.model import ArrowModel +from fixdatalink.arrow.writer import ArrowWriter +from fixdatalink.arrow.config import ArrowOutputConfig, FileDestination from pathlib import Path import shutil import uuid diff --git a/tests/remote_graph_test.py b/tests/remote_graph_test.py index cc1d174..db04aaf 100644 --- a/tests/remote_graph_test.py +++ b/tests/remote_graph_test.py @@ -1,11 +1,11 @@ from typing import Iterator -from resotoclient import JsObject -from resotolib.core.actions import CoreFeedback -from resotolib.core.model_export import node_to_dict -from resotolib.graph import Graph +from fixclient import JsObject +from fixlib.core.actions import CoreFeedback +from fixlib.core.model_export import node_to_dict +from fixlib.graph import Graph -from resotodatalink.remote_graph import RemoteGraphCollector +from fixdatalink.remote_graph import RemoteGraphCollector def test_remote_graph_collector(example_collector_graph: Graph, core_feedback: CoreFeedback) -> None: diff --git a/tests/sql_test.py b/tests/sql_test.py index ed11041..85e4656 100644 --- a/tests/sql_test.py +++ b/tests/sql_test.py @@ -1,12 +1,12 @@ from itertools import chain -from resotoclient.models import Model +from fixclient.models import Model from sqlalchemy import MetaData from sqlalchemy.engine import Engine from sqlalchemy.orm import Session from sqlalchemy.types import VARCHAR, Text -from resotodatalink.sql import SqlDefaultUpdater +from fixdatalink.sql import SqlDefaultUpdater def test_create_schema(model: Model, engine: Engine) -> None: diff --git a/tox.ini b/tox.ini index fddbede..6491070 100644 --- a/tox.ini +++ b/tox.ini @@ -13,7 +13,7 @@ usedevelop = true deps = -rrequirements-all.txt [testenv:syntax] -commands = flake8 --verbose resotodatalink +commands = flake8 --verbose fixdatalink [testenv:tests] commands = pytest @@ -23,4 +23,4 @@ commands = black --line-length 120 --check --diff --target-version py39 . [testenv:mypy] commands= - python -m mypy --python-version 3.9 resotodatalink tests + python -m mypy --python-version 3.9 fixdatalink tests