Skip to content

Commit 6512713

Browse files
committed
🔧 Add main config files
1 parent 02a63e7 commit 6512713

File tree

5 files changed

+80
-1
lines changed

5 files changed

+80
-1
lines changed

.env

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
PYTHONPATH=./docs/src

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,8 @@
22
*.pyc
33
__pycache__
44
env3.7
5+
env3.6
56
dist
67
.mypy_cache
8+
.idea
9+
site

.travis.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
dist: xenial
2+
3+
language: python
4+
5+
cache: pip
6+
7+
python:
8+
- "3.6"
9+
- "3.7"
10+
- "3.8"
11+
- "nightly"
12+
13+
matrix:
14+
allow_failures:
15+
- python: "nightly"
16+
17+
install:
18+
- pip install flit
19+
- flit install --symlink
20+
21+
script:
22+
- bash scripts/test.sh
23+
24+
after_script:
25+
- bash <(curl -s https://codecov.io/bash)
26+
27+
deploy:
28+
provider: script
29+
script: bash scripts/deploy.sh
30+
on:
31+
tags: true
32+
python: "3.6"

mypy.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[mypy]
2+
ignore_missing_imports = True

pyproject.toml

Lines changed: 42 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,48 @@ module = "typer"
77
author = "Sebastián Ramírez"
88
author-email = "[email protected]"
99
home-page = "https://github.com/tiangolo/typer"
10-
classifiers = ["License :: OSI Approved :: MIT License"]
10+
classifiers = [
11+
"Intended Audience :: Information Technology",
12+
"Intended Audience :: System Administrators",
13+
"Operating System :: OS Independent",
14+
"Programming Language :: Python :: 3",
15+
"Programming Language :: Python",
16+
"Topic :: Software Development :: Libraries :: Application Frameworks",
17+
"Topic :: Software Development :: Libraries :: Python Modules",
18+
"Topic :: Software Development :: Libraries",
19+
"Topic :: Software Development",
20+
"Typing :: Typed",
21+
"Development Status :: 4 - Beta",
22+
"Intended Audience :: Developers",
23+
"Programming Language :: Python :: 3 :: Only",
24+
"Programming Language :: Python :: 3.6",
25+
"Programming Language :: Python :: 3.7",
26+
"Programming Language :: Python :: 3.8",
27+
"License :: OSI Approved :: MIT License"
28+
]
1129
requires = [
1230
"click >= 7.0.0, <8.0.0"
1331
]
32+
description-file = "README.md"
33+
requires-python = ">=3.6"
34+
35+
[tool.flit.metadata.urls]
36+
Documentation = "https://typer.tiangolo.com/"
37+
38+
[tool.flit.metadata.requires-extra]
39+
test = [
40+
"pytest >=4.0.0",
41+
"pytest-cov",
42+
"mypy",
43+
"black",
44+
"isort"
45+
]
46+
doc = [
47+
"mkdocs",
48+
"mkdocs-material",
49+
"markdown-include"
50+
]
51+
all = [
52+
"colorama",
53+
"click-completion"
54+
]

0 commit comments

Comments
 (0)