Skip to content

Commit 89a750b

Browse files
committed
Conversion to a monorepo based on Pants.
1 parent 2a2bf93 commit 89a750b

File tree

284 files changed

+7724
-5236
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

284 files changed

+7724
-5236
lines changed

.circleci/config.yml

-84
This file was deleted.

.flake8

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[flake8]
2+
max-line-length = 120
3+
application-import-names = arcor2,arcor2_arserver,arcor2_arserver_data,arcor2_build,arcor2_build_data,arcor2_calibration,arcor2_execution,arcor2_execution_data,arcor2_fit_demo,arcor2_kinali,arcor2_mocks
4+
ignore = B306, E203, E231, W503
5+
known-modules = numpy-quaternion:[quaternion],lru-dict:[lru]

.github/workflows/close_milestone_on_release.yml

-17
This file was deleted.

.github/workflows/pants.yaml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Pants
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- devel
8+
pull_request:
9+
branches:
10+
- master
11+
- devel
12+
13+
jobs:
14+
build:
15+
env:
16+
PANTS_CONFIG_FILES: pants.ci.toml
17+
runs-on: ubuntu-latest
18+
strategy:
19+
matrix:
20+
python-version: [3.8]
21+
steps:
22+
- uses: actions/checkout@v2
23+
- name: Set up Python ${{ matrix.python-version }}
24+
uses: actions/setup-python@v1
25+
with:
26+
python-version: ${{ matrix.python-version }}
27+
- name: bootstrap
28+
run: |
29+
./pants --version
30+
- name: Lint
31+
run: |
32+
./pants --changed-since=origin/main lint ::
33+
- name: Test
34+
run: |
35+
./pants --changed-since=origin/main --changed-dependees=transitive test ::

.github/workflows/pythonpublish.yml

-26
This file was deleted.

.gitignore

+9-1
Original file line numberDiff line numberDiff line change
@@ -101,4 +101,12 @@ venv.bak/
101101
/site
102102

103103
# mypy
104-
.mypy_cache/
104+
.mypy_cache/
105+
106+
# Pants workspace files
107+
/.pants.d/
108+
/dist/
109+
/.pids
110+
/.pants.workdir.file_lock*
111+
112+
.idea/

.isort.cfg

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[settings]
2+
# This is to make isort compatible with Black. See
3+
# https://black.readthedocs.io/en/stable/the_black_code_style.html#how-black-wraps-lines.
4+
line_length=120
5+
multi_line_output=3
6+
include_trailing_comma=True
7+
force_grid_wrap=0
8+
use_parentheses=True
9+
10+
known_first_party=arcor2,arcor2_arserver,arcor2_arserver_data,arcor2_build,arcor2_build_data,arcor2_calibration,arcor2_execution,arcor2_execution_data,arcor2_fit_demo,arcor2_kinali,arcor2_mocks
11+
default_section=THIRDPARTY

.pylintrc

-10
This file was deleted.

3rdparty/BUILD

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
python_requirements(
2+
module_mapping={
3+
"numpy-quaternion": ["quaternion"],
4+
"PyYAML": ["yaml"],
5+
"Pillow": ["PIL"],
6+
"lru-dict": ["lru"],
7+
"opencv-contrib-python": ["cv2"]
8+
}
9+
)

3rdparty/constraints.txt

+65
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
aiologger==0.5.0
2+
aiorun==2020.6.1
3+
apispec==3.3.1
4+
apispec-webframeworks==0.5.2
5+
asttokens==1.1.15
6+
astunparse==1.6.3
7+
attrs==20.1.0
8+
autopep8==1.5.4
9+
certifi==2020.6.20
10+
chardet==3.0.4
11+
click==7.1.2
12+
Cython==0.29.21
13+
dataclasses==0.6
14+
dataclasses-jsonschema==2.12.0
15+
fastjsonschema==2.13
16+
Flask==1.1.2
17+
flask_cors==3.0.8
18+
flask-swagger-ui==3.25.0
19+
gitdb==4.0.5
20+
GitPython==3.1.7
21+
horast==0.4.0
22+
idna==2.10
23+
iniconfig==1.0.1
24+
itsdangerous==1.1.0
25+
Jinja2==2.11.2
26+
jsonschema==3.2.0
27+
lru-dict==1.1.6
28+
MarkupSafe==1.1.1
29+
more-itertools==8.4.0
30+
mypy-extensions==0.4.3
31+
numpy==1.19.1
32+
numpy-quaternion==2020.5.19.15.27.24
33+
openapi-spec-validator==0.2.9
34+
ordered-set==4.0.2
35+
packaging==20.4
36+
Pillow==7.2.0
37+
pip==20.2.2
38+
pluggy==0.13.1
39+
py==1.9.0
40+
pycodestyle==2.6.0
41+
pyparsing==2.4.7
42+
pyrsistent==0.16.0
43+
pytest==6.0.1
44+
pytest-randomly==3.4.1
45+
pytest-repeat==0.8.0
46+
python-dateutil==2.8.1
47+
PyYAML==5.3.1
48+
requests==2.24.0
49+
semver==2.10.2
50+
setuptools==49.6.0
51+
six==1.15.0
52+
smmap==3.0.4
53+
static-typing==0.2.7
54+
toml==0.10.1
55+
typed-ast==1.4.1
56+
typed-astunparse==2.1.4
57+
typing-extensions==3.7.4.3
58+
typing-inspect==0.6.0
59+
urllib3==1.25.10
60+
version-query==1.1.0
61+
websocket-client==0.57.0
62+
websockets==8.1
63+
Werkzeug==1.0.1
64+
wheel==0.35.1
65+
opencv-contrib-python==4.4.0.42

3rdparty/requirements.txt

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
dataclasses==0.6
2+
horast==0.4.0
3+
typed-ast==1.4.1
4+
autopep8==1.5.4
5+
typed-astunparse==2.1.4
6+
static-typing==0.2.7
7+
websockets==8.1
8+
aiologger==0.5.0
9+
dataclasses-jsonschema[fast-validation]==2.12.0
10+
requests==2.24.0
11+
Cython==0.29.21
12+
numpy-quaternion==2020.5.19.15.27.24
13+
websocket-client==0.57.0
14+
PyYAML==5.3.1
15+
Pillow==7.2.0
16+
aiorun==2020.6.1
17+
typing-inspect==0.6.0
18+
semver==2.10.2
19+
pytest==6.0.1
20+
pytest-repeat==0.8.0
21+
pytest-randomly==3.4.1
22+
openapi-spec-validator==0.2.9
23+
apispec==3.3.1
24+
apispec-webframeworks==0.5.2
25+
Flask==1.1.2
26+
flask-swagger-ui==3.25.0
27+
lru-dict==1.1.6
28+
flask_cors==3.0.8
29+
opencv-contrib-python==4.4.0.42

MANIFEST.in

-2
This file was deleted.

0 commit comments

Comments
 (0)