Giter Site home page Giter Site logo

Comments (6)

nicor88 avatar nicor88 commented on May 14, 2024

Thanks for the issue. What you suggested sounds good to me, except mypy I have black and isort in all my private repos, and I use flake8 for code checks.
When working on a local development, pre-commit is a must, then we can add another Github action to run exactly the same checks of the pre-commit. Generally I have a make check locally called in the pre-commit, and the same command is called in the CI.

Regarding tests we need to differentiate at least 2 types:

  • unit testing: I was thinking pytest and moto to mock api calls, or simple response mocking with monkeypatch
  • integration tests: we can run simple dbt models against a real AWS account, or ideally we can use localstack.

from dbt-athena.

jankatins avatar jankatins commented on May 14, 2024

poetry or pip? Is poetry ok?

I would start with just linting and leave running unit testing for later as it is not yet defined.

(another thing for later: adding a release pipeline however that should look like)

from dbt-athena.

nicor88 avatar nicor88 commented on May 14, 2024

Yeah fine let's split a bit up and covering linting first.
I'm fine with Poetry, @thenaturalist any objections?

from dbt-athena.

Jrmyy avatar Jrmyy commented on May 14, 2024

I am also fine with Poetry.

If I sum we want :

  • Poetry for dependency management
  • Flake8 for code check
  • Black and isort for linting
  • Pre-commit to ensure smooth developer experience

Am I missing something @nicor88 @jankatins ?

I have some time right now, I can start working on that as soon as we release 1.0.4 and 1.3.0 versions 👍🏻

from dbt-athena.

nicor88 avatar nicor88 commented on May 14, 2024

@Jrmyy seems all good. I checked other official providers and seems that poetry is not used. Let's stick with pip for consistency across other adapters. Wdyt?

from dbt-athena.

Jrmyy avatar Jrmyy commented on May 14, 2024

LGTM to keep pip to be consistent with the other adapters 👍🏻

from dbt-athena.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.