Skip to content

Commit 4df6fa9

Browse files
committed
Merge branch 'master' into print_table_newlines
2 parents 38a9b63 + 80106fd commit 4df6fa9

File tree

181 files changed

+1390
-2398
lines changed

Some content is hidden

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

181 files changed

+1390
-2398
lines changed

.coveragerc

-5
This file was deleted.

.github/CONTRIBUTING.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Contributors should use the following roadmap to guide them through the process
2222
1. Fork the project on [GitHub].
2323
2. Check out the [issue tracker] and find a task that needs to be done and is of a scope you can realistically expect to complete in a few days. Don’t worry about the priority of the issues at first, but try to choose something you’ll enjoy. You’re much more likely to finish something to the point it can be merged if it’s something you really enjoy hacking on.
2424
3. Comment on the ticket letting everyone know you’re going to be hacking on it so that nobody duplicates your effort. It’s also good practice to provide some general idea of how you plan on resolving the issue so that other developers can make suggestions.
25-
4. Write tests for the feature you’re building. Follow the format of the existing tests in the test directory to see how this works. You can run all the tests with the command `nosetests tests`. (Or `tox` to run across all supported versions of Python.)
25+
4. Write tests for the feature you’re building. Follow the format of the existing tests in the test directory to see how this works. You can run all the tests with the command `pytest`.
2626
5. Write the code. Try to stay consistent with the style and organization of the existing codebase. A good patch won’t be refused for stylistic reasons, but large parts of it may be rewritten and nobody wants that.
2727
6. As you are coding, periodically merge in work from the master branch and verify you haven’t broken anything by running the test suite.
2828
7. Write documentation. Seriously.
@@ -35,8 +35,8 @@ Legalese
3535

3636
To the extent that they care, contributors should keep in mind that the source of agate and therefore of any contributions are licensed under the permissive [MIT license]. By submitting a patch or pull request you are agreeing to release your code under this license. You will be acknowledged in the AUTHORS list, the commit history and the hearts and minds of jo
3737

38-
[numpy]: http://www.numpy.org/
39-
[pandas]: http://pandas.pydata.org/
38+
[numpy]: https://numpy.org/
39+
[pandas]: https://pandas.pydata.org/
4040
[GitHub]: https://github.com/wireservice/agate
4141
[issue tracker]: https://github.com/wireservice/agate/issues
42-
[MIT license]: http://www.opensource.org/licenses/mit-license.php
42+
[MIT license]: https://opensource.org/license/mit/

.github/dependabot.yml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "daily"

.github/workflows/ci.yml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: CI
2+
on: [push, pull_request]
3+
jobs:
4+
build:
5+
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
6+
runs-on: ${{ matrix.os }}
7+
strategy:
8+
matrix:
9+
os: [macos-latest, windows-latest, ubuntu-latest]
10+
python-version: [3.8, 3.9, '3.10', '3.11', '3.12', pypy-3.9]
11+
steps:
12+
- if: matrix.os == 'ubuntu-latest'
13+
name: Install UTF-8 locales and lxml requirements
14+
run: |
15+
sudo apt install libxml2-dev libxslt-dev
16+
sudo locale-gen de_DE.UTF-8
17+
sudo locale-gen en_US.UTF-8
18+
sudo locale-gen ko_KR.UTF-8
19+
sudo update-locale
20+
- uses: actions/checkout@v4
21+
- uses: actions/setup-python@v5
22+
with:
23+
python-version: ${{ matrix.python-version }}
24+
cache: pip
25+
cache-dependency-path: setup.py
26+
- run: pip install .[test] coveralls
27+
- env:
28+
LANG: en_US.UTF-8
29+
PYTHONIOENCODING: utf-8
30+
PYTHONUTF8: 1
31+
run: pytest --cov agate
32+
- run: python charts.py
33+
- env:
34+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
35+
run: coveralls --service=github

.github/workflows/lint.yml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Lint
2+
on: [push, pull_request]
3+
jobs:
4+
build:
5+
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v4
9+
- uses: actions/setup-python@v5
10+
with:
11+
python-version: '3.10'
12+
cache: pip
13+
cache-dependency-path: setup.py
14+
- run: pip install --upgrade check-manifest flake8 isort setuptools
15+
- run: check-manifest
16+
- run: flake8 .
17+
- run: isort . --check-only

.github/workflows/pypi.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Publish to PyPI
2+
on: push
3+
jobs:
4+
build:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v4
8+
- uses: actions/setup-python@v5
9+
with:
10+
python-version: '3.10'
11+
- run: pip install --upgrade build
12+
- run: python -m build --sdist --wheel
13+
- name: Publish to TestPyPI
14+
uses: pypa/gh-action-pypi-publish@release/v1
15+
with:
16+
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
17+
repository-url: https://test.pypi.org/legacy/
18+
skip-existing: true
19+
- name: Publish to PyPI
20+
if: startsWith(github.ref, 'refs/tags')
21+
uses: pypa/gh-action-pypi-publish@release/v1
22+
with:
23+
password: ${{ secrets.PYPI_API_TOKEN }}

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
*.pyc
33
*.swp
44
*.swo
5-
.tox
65
*.egg-info
76
docs/_build
87
dist

.pre-commit-config.yaml

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
repos:
2+
- repo: https://github.com/pycqa/flake8
3+
rev: 3.9.2
4+
hooks:
5+
- id: flake8
6+
- repo: https://github.com/pycqa/isort
7+
rev: 5.8.0
8+
hooks:
9+
- id: isort
10+
- repo: https://github.com/mgedmin/check-manifest
11+
rev: "0.46"
12+
hooks:
13+
- id: check-manifest

.readthedocs.yaml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
version: 2
2+
build:
3+
os: ubuntu-20.04
4+
tools:
5+
python: "3.9"
6+
python:
7+
install:
8+
- path: .
9+
- requirements: docs/requirements.txt
10+
sphinx:
11+
fail_on_warning: true

.travis.yml

-133
This file was deleted.

AUTHORS.rst

+7-1
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,14 @@ agate is made by a community. The following individuals have contributed code, d
3737
* `Neil MartinsenBurrell <https://github.com/neilmb>`_
3838
* `Aliaksei Urbanski <https://github.com/Jamim>`_
3939
* `Forest Gregg <https://github.com/fgregg>`_
40+
* `Robert Schütz <https://github.com/dotlambda>`_
4041
* `Wouter de Vries <https://github.com/wadevries>`_
4142
* `Kartik Agaram <https://github.com/akkartik>`_
4243
* `Loïc Corbasson <https://github.com/lcorbasson>`_
43-
* `Robert Schütz <https://github.com/dotlambda>`_
4444
* `Danny Sepler <https://github.com/dannysepler>`_
45+
* `brian-from-quantrocket <https://github.com/brian-from-quantrocket>`_
46+
* `mathdesc <https://github.com/mathdesc>`_
47+
* `Tim Gates <https://github.com/timgates42>`_
48+
* `castorf <https://github.com/castorf>`_
49+
* `Julien Enselme <https://github.com/Jenselme>`__
50+

0 commit comments

Comments
 (0)