Skip to content

Commit

Permalink
Install missing stubs and ignore missing imports in specific libs
Browse files Browse the repository at this point in the history
  • Loading branch information
steinitzu committed Jul 28, 2023
1 parent 8b69309 commit 1a302b3
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 16 deletions.
17 changes: 16 additions & 1 deletion mypy.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[mypy]
python_version=3.8
ignore_missing_imports=true
ignore_missing_imports=false
strict_optional=false
warn_redundant_casts=true
# disallow_any_explicit=true
Expand All @@ -16,5 +16,20 @@ warn_unused_ignores=true
;disallow_untyped_defs=false
;warn_return_any=false

[mypy-facebook_business.*]
ignore_missing_imports=true

[mypy-asana.*]
ignore_missing_imports=true

[mypy-apiclient.*]
ignore_missing_imports=true

[mypy-simple_salesforce.*]
ignore_missing_imports=true

[mypy-proto.*]
ignore_missing_imports=true

[mypy-tests.*]
; ignore_errors=true
39 changes: 38 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 2 additions & 14 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,50 +24,38 @@ flake8-builtins = "^2.1.0"
types-requests = "^2.28.11.7"
mimesis = "^7.0.0"
requests-mock = "^1.10.0"
pandas-stubs = "^2.0.0"

[tool.black]
include = '.*py$'



[tool.poetry.group.sql_database.dependencies]
sqlalchemy = ">=1.4"
pymysql = "^1.0.3"



[tool.poetry.group.google_sheets.dependencies]
google-api-python-client = "^2.78.0"



[tool.poetry.group.google_analytics.dependencies]
google-analytics-data = "^0.16.2"
google-api-python-client = "^2.86.0"
google-auth-oauthlib = "^1.0.0"
requests-oauthlib = "^1.3.1"



[tool.poetry.group.stripe_analytics.dependencies]
pandas = "^2.0.0"
stripe = "^5.0.0"


types-stripe = "^3.5.2.14"

[tool.poetry.group.asana_dlt.dependencies]
asana = "^3.2.1"


[tool.poetry.group.facebook_ads.dependencies]
facebook-business = "^16.0.2"



[tool.poetry.group.salesforce.dependencies]
simple-salesforce = "^1.12.4"

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

0 comments on commit 1a302b3

Please sign in to comment.