Skip to content

Commit

Permalink
Merge branch 'master' into print_table_newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Feb 15, 2024
2 parents 38a9b63 + 80106fd commit 4df6fa9
Show file tree
Hide file tree
Showing 181 changed files with 1,390 additions and 2,398 deletions.
5 changes: 0 additions & 5 deletions .coveragerc

This file was deleted.

8 changes: 4 additions & 4 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Contributors should use the following roadmap to guide them through the process
1. Fork the project on [GitHub].
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.
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.
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.)
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`.
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.
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.
7. Write documentation. Seriously.
Expand All @@ -35,8 +35,8 @@ Legalese

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

[numpy]: http://www.numpy.org/
[pandas]: http://pandas.pydata.org/
[numpy]: https://numpy.org/
[pandas]: https://pandas.pydata.org/
[GitHub]: https://github.com/wireservice/agate
[issue tracker]: https://github.com/wireservice/agate/issues
[MIT license]: http://www.opensource.org/licenses/mit-license.php
[MIT license]: https://opensource.org/license/mit/
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
35 changes: 35 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: CI
on: [push, pull_request]
jobs:
build:
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
python-version: [3.8, 3.9, '3.10', '3.11', '3.12', pypy-3.9]
steps:
- if: matrix.os == 'ubuntu-latest'
name: Install UTF-8 locales and lxml requirements
run: |
sudo apt install libxml2-dev libxslt-dev
sudo locale-gen de_DE.UTF-8
sudo locale-gen en_US.UTF-8
sudo locale-gen ko_KR.UTF-8
sudo update-locale
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
cache-dependency-path: setup.py
- run: pip install .[test] coveralls
- env:
LANG: en_US.UTF-8
PYTHONIOENCODING: utf-8
PYTHONUTF8: 1
run: pytest --cov agate
- run: python charts.py
- env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: coveralls --service=github
17 changes: 17 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Lint
on: [push, pull_request]
jobs:
build:
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: pip
cache-dependency-path: setup.py
- run: pip install --upgrade check-manifest flake8 isort setuptools
- run: check-manifest
- run: flake8 .
- run: isort . --check-only
23 changes: 23 additions & 0 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Publish to PyPI
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- run: pip install --upgrade build
- run: python -m build --sdist --wheel
- name: Publish to TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository-url: https://test.pypi.org/legacy/
skip-existing: true
- name: Publish to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
*.pyc
*.swp
*.swo
.tox
*.egg-info
docs/_build
dist
Expand Down
13 changes: 13 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
repos:
- repo: https://github.com/pycqa/flake8
rev: 3.9.2
hooks:
- id: flake8
- repo: https://github.com/pycqa/isort
rev: 5.8.0
hooks:
- id: isort
- repo: https://github.com/mgedmin/check-manifest
rev: "0.46"
hooks:
- id: check-manifest
11 changes: 11 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: 2
build:
os: ubuntu-20.04
tools:
python: "3.9"
python:
install:
- path: .
- requirements: docs/requirements.txt
sphinx:
fail_on_warning: true
133 changes: 0 additions & 133 deletions .travis.yml

This file was deleted.

8 changes: 7 additions & 1 deletion AUTHORS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,14 @@ agate is made by a community. The following individuals have contributed code, d
* `Neil MartinsenBurrell <https://github.com/neilmb>`_
* `Aliaksei Urbanski <https://github.com/Jamim>`_
* `Forest Gregg <https://github.com/fgregg>`_
* `Robert Schütz <https://github.com/dotlambda>`_
* `Wouter de Vries <https://github.com/wadevries>`_
* `Kartik Agaram <https://github.com/akkartik>`_
* `Loïc Corbasson <https://github.com/lcorbasson>`_
* `Robert Schütz <https://github.com/dotlambda>`_
* `Danny Sepler <https://github.com/dannysepler>`_
* `brian-from-quantrocket <https://github.com/brian-from-quantrocket>`_
* `mathdesc <https://github.com/mathdesc>`_
* `Tim Gates <https://github.com/timgates42>`_
* `castorf <https://github.com/castorf>`_
* `Julien Enselme <https://github.com/Jenselme>`__

Loading

0 comments on commit 4df6fa9

Please sign in to comment.