Skip to content

Commit

Permalink
Better virtualenv support for IDEs
Browse files Browse the repository at this point in the history
  • Loading branch information
pirxthepilot committed Jul 19, 2023
1 parent 93c62ea commit c11ee7c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -162,5 +162,8 @@ cython_debug/
# VSCode
.vscode/

# hatch virtualenvs
.hatch/

# Custom env
.env.wtfis
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ disable = true
# Hatch default env
[tool.hatch.envs.default]
dependencies = [
"bandit",
"flake8>=6.0.0",
"freezegun",
"mypy",
"pytest",
Expand All @@ -81,7 +83,7 @@ python = ["38", "39", "310"]
# Hatch lint env
[tool.hatch.envs.lint]
detached = true
dependencies = [
dependencies = [ # Make sure the respective versions are synced with default!
"bandit",
"flake8>=6.0.0",
]
Expand Down

0 comments on commit c11ee7c

Please sign in to comment.